Skip to content

IDurableTaskCompletionSource<T>.TrySetResult(T)

TrySetResult(T)

abstract
public abstract bool TrySetResult(T value)
Attempts to transition the durable state to completed with the specified result.

Parameters

valueT
The task result.

Returns

true if the state was transitioned; otherwise, false.