TaskOptions.WithInstanceId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new SubOrchestrationOptions with the provided instance ID. This can be used when starting a new sub-orchestration to specify the instance ID.
public Microsoft.DurableTask.SubOrchestrationOptions WithInstanceId (string instanceId);
member this.WithInstanceId : string -> Microsoft.DurableTask.SubOrchestrationOptions
Public Function WithInstanceId (instanceId As String) As SubOrchestrationOptions
Parameters
- instanceId
- String
The instance ID to use.
Returns
A new SubOrchestrationOptions.