PivotGridControl.OLAPException Event

Obsolete. Raised when a query processing error occurs on a bound OLAP server, or when the connection to this server is lost.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

[Browsable(false)]
[Obsolete("The OLAPException event is obsolete now. Use the QueryException event instead.")]
public event PivotOlapExceptionEventHandler OLAPException
<Browsable(False)>
<Obsolete("The OLAPException event is obsolete now. Use the QueryException event instead.")>
Public Event OLAPException As PivotOlapExceptionEventHandler

Event Data

The OLAPException event's data class is PivotOlapExceptionEventArgs. The following properties provide information specific to this event:

Property Description
ErrorPanelText Gets or sets a text from the error panel. Inherited from PivotQueryExceptionEventArgs.
Exception Gets an exception that has been thrown. Inherited from PivotQueryExceptionEventArgs.
Handled Gets or sets whether the default exception handling actions should be performed. Inherited from PivotQueryExceptionEventArgs.
ShowErrorPanel Gets or sets whether to show the error panel. Inherited from PivotQueryExceptionEventArgs.

Remarks

Use the event parameter's PivotQueryExceptionEventArgs.Exception property to determine which exception has been thrown.

To cancel the default exception handling actions, set the PivotQueryExceptionEventArgs.Handled property to true.

See Also