Skip to main content
A newer version of this page is available. .

ServerExceptionThrownEventArgs.Action Property

Gets or sets how the data server exception is to be handled in Server Mode.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

public ServerExceptionThrownAction Action { get; set; }

Property Value

Type Description
ServerExceptionThrownAction

A ServerExceptionThrownAction value indicating how the data server exception is to be handled.

Available values:

Name Description
Skip

An exception is consumed.

Rethrow

An exception is rethrown.

Remarks

The XPServerCollectionSource.ServerExceptionThrown event is raised when a data server throws an exception in server mode. Use the Action property to specify how the exception is handled. To get the exception’s details, use the ServerExceptionThrownEventArgs.Exception property.

See Also