Skip to main content

PivotGridControl.OlapException Event

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

#Declaration

public event PivotOlapExceptionEventHandler OlapException

#Event Data

The OlapException event's handler receives an argument of the PivotOlapExceptionEventArgs type. The following properties provide information specific to this event:

Property Description
Exception Gets an exception that has been thrown.
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 RoutedEventArgs.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

#Remarks

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

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

See Also