AsyncDolls.TaskCompletionSource.TrySetCanceled C# (CSharp) Method

TrySetCanceled() public method

Attempts to transition the underlying Task into the TaskStatus.Canceled state.
public TrySetCanceled ( ) : bool
return bool
        public bool TrySetCanceled()
        {
            return _tcs.TrySetCanceled();
        }