Click or drag to resize

WorkflowNewGuidAsync Method

Returns a replay safe Guid.

Note Note
This must be used instead of calling NewGuid to guarantee determinism when a workflow is replayed.

Namespace:  Neon.Cadence
Assembly:  Neon.Cadence (in Neon.Cadence.dll) Version: 2.14.0
public Task<Guid> NewGuidAsync()

Return Value

Type: TaskGuid
The new Guid.
ObjectDisposedExceptionThrown if the associated Cadence client is disposed.
NotSupportedExceptionThrown when this is called outside of a workflow entry point method.
See Also