com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AsyncCommandResultEventArgs

    • Constructor Detail

      • AsyncCommandResultEventArgs

        public AsyncCommandResultEventArgs()

        Initializes a new instance of the AsyncCommandResultEventArgs class.

      • AsyncCommandResultEventArgs

        public AsyncCommandResultEventArgs(int result)

        Initializes a new instance of the AsyncCommandResultEventArgs class.

        Parameters:
        result - Contains operation result
      • AsyncCommandResultEventArgs

        public AsyncCommandResultEventArgs(int result,
                                   Throwable error)

        Initializes a new instance of the AsyncCommandResultEventArgs class.

        Parameters:
        result - Contains operation state
        error - Contains operation error
    • Method Detail

      • getResult

        public final int getResult()

        Operation state

      • setResult

        protected void setResult(int value)

        Operation state

      • getError

        public final Throwable getError()

        Operation error

      • setError

        protected void setError(Throwable value)

        Operation error