Class TimeoutException

TimeoutException class

The exception that is thrown when an operation does not complete in the allotted time.

public class TimeoutException : AsposeException

Constructors

NameDescription
TimeoutException()Initializes a new instance of the TimeoutException class.
TimeoutException(string)Initializes a new instance of the TimeoutException class with the specified error message.
TimeoutException(string, int)Initializes a new instance of the TimeoutException class with an error message built from a format string and the timeout.
TimeoutException(string, params object[])Initializes a new instance of the TimeoutException class with an error message built from a composite format string.
TimeoutException(string, string, int)Initializes a new instance of the TimeoutException class with an error message built from a format string, the command and the timeout.

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