TrySetCanceled
abstract
public abstract bool TrySetCanceled() Attempts to transition the durable state to canceled.
Returns
true if the state was transitioned; otherwise, false.public abstract bool TrySetCanceled()true if the state was transitioned; otherwise, false.