class OperationCanceledException
The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.
public OperationCanceledException( string message )
Initializes a new instance of the class with a specified error message.
messageA that describes the error.
public OperationCanceledException( string message, Exception innerException )
Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
messageThe error message that explains the reason for the exception.innerExceptionThe exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.
public OperationCanceledException( string message, Exception innerException, CancellationToken token )
Initializes a new instance of the class with a specified error message, a reference to the inner exception that is the cause of this exception, and a cancellation token.
messageThe error message that explains the reason for the exception.innerExceptionThe exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception.tokenA cancellation token associated with the operation that was canceled.
public OperationCanceledException( string message, CancellationToken token )
Initializes a new instance of the class with a specified error message and a cancellation token.
messageThe error message that explains the reason for the exception.tokenA cancellation token associated with the operation that was canceled.
public OperationCanceledException( CancellationToken token )
Initializes a new instance of the class with a cancellation token.
tokenA cancellation token associated with the operation that was canceled.
public CancellationToken CancellationToken { get; }
Gets a token associated with the operation that was canceled.
- Returns A token associated with the operation that was canceled, or a default token.
public string Source { get; set; }
😔 No documentation found.
public void GetObjectData( SerializationInfo info, StreamingContext context )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public int HResult { get; set; }
😔 No documentation found.
public Exception InnerException { get; }
😔 No documentation found.
public string StackTrace { get; }
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public OperationCanceledException( )
😔 No documentation found.
public Exception GetBaseException( )
😔 No documentation found.
public IDictionary Data { get; }
😔 No documentation found.
public string Message { get; }
😔 No documentation found.
public string HelpLink { get; set; }
😔 No documentation found.
public Type GetType( )
😔 No documentation found.