<PackageReference Include="Microsoft.Bcl" Version="1.1.8" />

System.OperationCanceledException

The exception that is thrown in a thread upon cancellation of an operation that the thread was executing.

Gets a token associated with the operation that was canceled.

Initializes the exception.

public OperationCanceledException(string message)

Initializes the exception.

public OperationCanceledException(string message, Exception innerException)

Initializes the exception.

Initializes the exception.

public OperationCanceledException(string message, CancellationToken token)

Initializes the exception.

public OperationCanceledException(string message, Exception innerException, CancellationToken token)

Initializes the exception.