Back to Devexpress

PivotGridControl.OLAPException Event

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-a55b74a2.md

latest3.1 KB
Original Source

PivotGridControl.OLAPException Event

OBSOLETE

The OLAPException event is obsolete now. Use the QueryException event instead.

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.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Event Data

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

PropertyDescription
ErrorPanelTextGets or sets a text from the error panel. Inherited from PivotQueryExceptionEventArgs.
ExceptionGets an exception that has been thrown. Inherited from PivotQueryExceptionEventArgs.
HandledGets or sets whether the default exception handling actions should be performed. Inherited from PivotQueryExceptionEventArgs.
ShowErrorPanelGets or sets whether to show the error panel. Inherited from PivotQueryExceptionEventArgs.

Remarks

Use the event parameter’s e.Exception property to determine which exception has been thrown.

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

See Also

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace