Class ObjectDisposedException

ObjectDisposedException class

Represents errors that occur when an operation canceled.

public class ObjectDisposedException : AsposeException

Constructors

NameDescription
ObjectDisposedException()Initializes a new instance of the ObjectDisposedException class.
ObjectDisposedException(string)Initializes a new instance of the ObjectDisposedException class with a specified error message.
ObjectDisposedException(string, Exception)Initializes a new instance of the ObjectDisposedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
ObjectDisposedException(string, params object[])Initializes a new instance of the ObjectDisposedException class with a specified error message.

Properties

NameDescription
ErrorDetails { get; }Gets additional information about the error, if the operation provides any.
override Message { get; }Gets the message that describes the error.

Methods

NameDescription
override ToString()Returns the type, the message and the stack trace of the exception.

See Also