Skip to main content
.NET 6.0+

ServerExceptionThrownEventArgs.Action Property

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public ServerExceptionThrownAction Action { get; set; }

Property Value

Type Description
ServerExceptionThrownAction

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

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