This documentation is archived and is not being maintained.
OperationCanceledException Constructor
Visual Studio 2010
Initializes a new instance of the OperationCanceledException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
OperationCanceledException() | Initializes a new instance of the OperationCanceledException class with a system-supplied error message. |
|
OperationCanceledException(CancellationToken) | Initializes a new instance of the OperationCanceledException class with a cancellation token. |
|
OperationCanceledException(String) | Initializes a new instance of the OperationCanceledException class with a specified error message. |
|
OperationCanceledException(SerializationInfo, StreamingContext) | Initializes a new instance of the OperationCanceledException class with serialized data. |
|
OperationCanceledException(String, Exception) | 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. |
|
OperationCanceledException(String, CancellationToken) | Initializes a new instance of the OperationCanceledException class with a specified error message and a cancellation token. |
|
OperationCanceledException(String, Exception, CancellationToken) | 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. |
Show: