Class ServerExceptionThrownEventArgs
- Namespace
- DevExpress.Xpo
- Assembly
- DevExpress.Xpo.v24.1.dll
Provides data for an object’s XPServerCollectionSource.ServerExceptionThrown event.
public class ServerExceptionThrownEventArgs : EventArgs
- Inheritance
-
ServerExceptionThrownEventArgs
- Inherited Members
Constructors
ServerExceptionThrownEventArgs(Exception)
Initialize a new instance of the ServerExceptionThrownEventArgs class with a specified exception.
public ServerExceptionThrownEventArgs(Exception exception)
Parameters
exception
ExceptionThe data server exception. This value is assigned to the ServerExceptionThrownEventArgs.Exception property.
ServerExceptionThrownEventArgs(Exception, ServerExceptionThrownAction)
Initialize a new instance of the ServerExceptionThrownEventArgs class with a specified exception and value indicating how the exception is to be handled.
public ServerExceptionThrownEventArgs(Exception exception, ServerExceptionThrownAction action)
Parameters
exception
ExceptionThe data server exception. This value is assigned to the ServerExceptionThrownEventArgs.Exception property.
action
ServerExceptionThrownActionA ServerExceptionThrownAction value indicating how the exception is to be handled.
Properties
Action
Gets or sets how the data server exception is to be handled in Server Mode.
public ServerExceptionThrownAction Action { get; set; }
Property Value
- ServerExceptionThrownAction
A ServerExceptionThrownAction value indicating how the data server exception is to be handled.
Exception
Gets the exception thrown by a data server in Server Mode.
public Exception Exception { get; }
Property Value
- Exception
The data server exception.