Skip to content

IDurableTaskCompletionSource<T>.TrySetCanceled

TrySetCanceled

abstract
public abstract bool TrySetCanceled()
Attempts to transition the durable state to canceled.

Returns

true if the state was transitioned; otherwise, false.