ServerExceptionThrownEventArgs.Action Property
In This Article
Gets or sets how the data server exception is to be handled in Server Mode.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public ServerExceptionThrownAction Action { get; set; }
#Property Value
Type | Description |
---|---|
Server |
A Server |
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