com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AsyncCommandResultEventArgs

  • java.lang.Object
    • com.aspose.ms.System.EventArgs
      • com.aspose.email.AsyncCommandResultEventArgs


  • public class AsyncCommandResultEventArgs
    extends com.aspose.ms.System.EventArgs

    AsyncCommandResultEventArgs is containing event data.

    • 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