CommunicationsWorkflowRuntimeService.GetWorkflowCulture Method
Gets the Culture for a workflow identified by a workflow instance ID.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Function GetWorkflowCulture ( _
workflowId As Guid _
) As CultureInfo
'Usage
Dim instance As CommunicationsWorkflowRuntimeService
Dim workflowId As Guid
Dim returnValue As CultureInfo
returnValue = instance.GetWorkflowCulture(workflowId)
public CultureInfo GetWorkflowCulture(
Guid workflowId
)
Parameters
- workflowId
Type: System.Guid
Workflow instance ID.
Return Value
Type: System.Globalization.CultureInfo
Culture information used by the current workflow instance.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the workflow instance ID is Guid.Empty. |
See Also
Reference
CommunicationsWorkflowRuntimeService Class