WorkflowClient.CreateNamedWorkflowInstance Method

Creates an instance of the workflow type typeName using an authorization token tgt and gives it the name instanceName.

Namespace: Microsoft.Workflow.Activities
Assembly: Microsoft.Workflow.Activities (in microsoft.workflow.activities.dll)

Usage

Syntax

'Declaration
Public Function CreateNamedWorkflowInstance ( _
    typeName As String, _
    instanceName As String, _
    tgt As String _
) As String
public string CreateNamedWorkflowInstance (
    string typeName,
    string instanceName,
    string tgt
)
public:
String^ CreateNamedWorkflowInstance (
    String^ typeName, 
    String^ instanceName, 
    String^ tgt
)
public String CreateNamedWorkflowInstance (
    String typeName, 
    String instanceName, 
    String tgt
)
public function CreateNamedWorkflowInstance (
    typeName : String, 
    instanceName : String, 
    tgt : String
) : String

Parameters

  • typeName
  • instanceName
  • tgt

Return Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

WorkflowClient Class
WorkflowClient Members
Microsoft.Workflow.Activities Namespace