Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OperationCanceledException Constructor

 

Initializes a new instance of the OperationCanceledException class.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodOperationCanceledException()

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

System_CAPS_pubmethodOperationCanceledException(CancellationToken)

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

System_CAPS_protmethodOperationCanceledException(SerializationInfo^, StreamingContext)

Initializes a new instance of the OperationCanceledException class with serialized data.

System_CAPS_pubmethodOperationCanceledException(String^)

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

System_CAPS_pubmethodOperationCanceledException(String^, CancellationToken)

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

System_CAPS_pubmethodOperationCanceledException(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.

System_CAPS_pubmethodOperationCanceledException(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.

Return to top
Show:
© 2017 Microsoft