共用方式為


IDurableOrchestrationContext.NewGuid Method

Definition

Creates a new GUID that is safe for replay within an orchestration or operation.

public Guid NewGuid ();
abstract member NewGuid : unit -> Guid
Public Function NewGuid () As Guid

Returns

The new Guid value.

Remarks

The default implementation of this method creates a name-based UUID using the algorithm from RFC 4122 §4.3. The name input used to generate this value is a combination of the orchestration instance ID and an internally managed sequence number.

Applies to