PivotGridControl.OLAPException Event
In This Article
OBSOLETE
The OLAPException event is obsolete now. Use the Query
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.v24.2.dll
NuGet Package: DevExpress.Win.PivotGrid
#Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The OLAPException event is obsolete now. Use the QueryException event instead.")]
public event PivotOlapExceptionEventHandler OLAPException
#Event Data
The OLAPException event's data class is PivotOlapExceptionEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Error |
Gets or sets a text from the error panel.
Inherited from Pivot |
Exception |
Gets an exception that has been thrown.
Inherited from Pivot |
Handled |
Gets or sets whether the default exception handling actions should be performed.
Inherited from Pivot |
Show |
Gets or sets whether to show the error panel.
Inherited from Pivot |
#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