Compartilhar via


TaskExtensions.ThrowIfCancellationRequested(CancellationToken, Action) Método

Definição

public static void ThrowIfCancellationRequested (this System.Threading.CancellationToken cancellationToken, Action cancelledCallback);
static member ThrowIfCancellationRequested : System.Threading.CancellationToken * Action -> unit
<Extension()>
Public Sub ThrowIfCancellationRequested (cancellationToken As CancellationToken, cancelledCallback As Action)

Parâmetros

cancellationToken
CancellationToken
cancelledCallback
Action

Aplica-se a