AsyncCommandResultEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs

public class AsyncCommandResultEventArgs extends System.EventArgs

AsyncCommandResultEventArgs is containing event data.

Constructors

Constructor Description
AsyncCommandResultEventArgs() Initializes a new instance of the AsyncCommandResultEventArgs class.
AsyncCommandResultEventArgs(int result) Initializes a new instance of the AsyncCommandResultEventArgs class.
AsyncCommandResultEventArgs(int result, Throwable error) Initializes a new instance of the AsyncCommandResultEventArgs class.

Methods

Method Description
getResult() Operation state
getError() Operation error

AsyncCommandResultEventArgs()

public AsyncCommandResultEventArgs()

Initializes a new instance of the AsyncCommandResultEventArgs class.

AsyncCommandResultEventArgs(int result)

public AsyncCommandResultEventArgs(int result)

Initializes a new instance of the AsyncCommandResultEventArgs class.

Parameters:

Parameter Type Description
result int Contains operation result

AsyncCommandResultEventArgs(int result, Throwable error)

public AsyncCommandResultEventArgs(int result, Throwable error)

Initializes a new instance of the AsyncCommandResultEventArgs class.

Parameters:

Parameter Type Description
result int Contains operation state
error java.lang.Throwable Contains operation error

getResult()

public final int getResult()

Operation state

Returns: int

getError()

public final Throwable getError()

Operation error

Returns: java.lang.Throwable