This version of Unity is unsupported.

AwaitableCompletionSource<T0>.TrySetCanceled

Declaration

public bool TrySetCanceled();

Returns

bool Indicates if the cancellation was successfuly raised.

Description

Raise cancellation (returns false if the awaitable was already completed or canceled).