System.OperationCanceledException: Constructor Members

The constructors of System.OperationCanceledException are listed below. For a list of all members, see the OperationCanceledException Members list.

See Also: Inherited members from System.SystemException

Public Constructors

Initializes a new instance of the OperationCanceledException class with a system-supplied error message.

Initializes a new instance of the OperationCanceledException class with a specified error message.

Initializes a new instance of the OperationCanceledException class with a cancellation token.

Initializes a new instance of the OperationCanceledException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Initializes a new instance of the OperationCanceledException class with a specified error message and a cancellation token.

Initializes a new instance of the OperationCanceledException class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.

Protected Constructors