CommunicationsWorkflowRuntimeService.SetWorkflowCulture Method
Sets the Culture for the workflow identified by a workflow instance ID.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Sub SetWorkflowCulture ( _
workflowId As Guid, _
culture As CultureInfo _
)
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim culture As CultureInfo
instance.SetWorkflowCulture(workflowId, _
culture)
public void SetWorkflowCulture(
Guid workflowId,
CultureInfo culture
)
Parameters
- workflowId
Type: System.Guid
Workflow instance ID.
- culture
Type: System.Globalization.CultureInfo
The culture to set.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the workflow instance ID is Guid.Empty. |
See Also
Reference
CommunicationsWorkflowRuntimeService Class