Class OperationInterruptedException

Class OperationInterruptedException

Namespace: Aspose.Imaging.CoreExceptions
Assembly: Aspose.Imaging.dll (25.7.0)

Occurs when an operation is interrupted.

public class OperationInterruptedException : FrameworkException, ISerializable
{
    public OperationInterruptedException() { }
    public OperationInterruptedException(string message) : base(message) { }
    public OperationInterruptedException(string message, Exception innerException) : base(message, innerException) { }
    protected OperationInterruptedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}

Inheritance

object Exception FrameworkException OperationInterruptedException

Implements

ISerializable

Inherited Members

Exception.GetBaseException() , Exception.ToString() , Exception.GetType() , Exception.TargetSite , Exception.Message , Exception.Data , Exception.InnerException , Exception.HelpLink , Exception.Source , Exception.HResult , Exception.StackTrace , Exception.SerializeObjectState , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OperationInterruptedException(string)

Initializes a new instance of the Aspose.Imaging.CoreExceptions.OperationInterruptedException class.

public OperationInterruptedException(string message)
   {
      base();
      this.Message = message;
   }

Parameters

message string

The exception message.

OperationInterruptedException(string, Exception)

Initializes a new instance of the Aspose.Imaging.CoreExceptions.OperationInterruptedException class.

public OperationInterruptedException(string message, Exception innerException)
   {
      base(message);
      InnerException = innerException;
   }

Parameters

message string

The exception message.

innerException Exception

The inner exception.

 English