PivotGridControl.OlapException Event
OBSOLETE
The Olap
Raised when a query processing error occurs on a bound OLAP server, or when the connection to this server is lost.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
[Obsolete("The OlapException event is obsolete now. Use the QueryException event instead.")]
[Browsable(false)]
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 the exception that was thrown.
Inherited from Pivot |
Handled |
Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.
Inherited from Routed |
Is |
Gets a value that indicates whether a query processing error occurs during a drill-down request.
Inherited from Pivot |
Original |
Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class.
Inherited from Routed |
Routed |
Gets or sets the Routed |
Show |
Gets or sets whether to show the error panel.
Inherited from Pivot |
Source |
Gets or sets a reference to the object that raised the event.
Inherited from Routed |
The event data class exposes the following methods:
Method | Description |
---|---|
Invoke |
When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation.
Inherited from Routed |
On |
When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes.
Inherited from Routed |
#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 Handled property to true.