WorkflowInstance constructor
Initializes a new instance of the WorkflowInstance class and provides name, status, and properties.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
Public Sub New ( _
instanceName As String, _
status As WorkflowStatus, _
properties As Dictionary(Of String, String) _
)
'Usage
Dim instanceName As String
Dim status As WorkflowStatus
Dim properties As Dictionary(Of String, String)
Dim instance As New WorkflowInstance(instanceName, _
status, properties)
public WorkflowInstance(
string instanceName,
WorkflowStatus status,
Dictionary<string, string> properties
)
Parameters
instanceName
Type: System.StringName of the running workflow instance.
status
Type: Microsoft.SharePoint.WorkflowServices.WorkflowStatusInstance status, as represented by the WorkflowStatus enumeration.
properties
Type: System.Collections.Generic.Dictionary<String, String>Dictionary of name-value pairs representing properties of the workflow instance.