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
public CultureInfo GetWorkflowCulture(
    Guid workflowId
)
public:
CultureInfo^ GetWorkflowCulture(
    Guid workflowId
)
function getWorkflowCulture(workflowId);

Parameters

  • workflowId
    Type: Guid
    Workflow instance ID.

Return Value

Culture information used by the current workflow instance.

Exceptions

Exception Condition
InvalidOperationException Thrown if the workflow instance ID is Guid.Empty.

See Also

CommunicationsWorkflowRuntimeService Class

Microsoft.Rtc.Workflow.Activities Namespace