AsyncCommandResultEventArgs

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

public class AsyncCommandResultEventArgs extends System.EventArgs

AsyncCommandResultEventArgs is containing event data.

Constructors

ConstructorDescription
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.

Fields

FieldDescription
Empty

Methods

MethodDescription
equals(Object arg0)
getClass()
getError()Operation error
getResult()Operation state
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

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:

ParameterTypeDescription
resultintContains operation result

AsyncCommandResultEventArgs(int result, Throwable error)

public AsyncCommandResultEventArgs(int result, Throwable error)

Initializes a new instance of the AsyncCommandResultEventArgs class.

Parameters:

ParameterTypeDescription
resultintContains operation state
errorjava.lang.ThrowableContains operation error

Empty

public static final System.EventArgs Empty

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getError()

public final Throwable getError()

Operation error

Returns: java.lang.Throwable

getResult()

public final int getResult()

Operation state

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int