System.Threading.Tasks.TaskCompletionSource<TResult>.SetCanceled Method

Transitions the underlying System.Threading.Tasks.Task`1 into the TaskStatus.Canceled state.

Syntax

public void SetCanceled ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0