共用方式為


WorkflowHelpers.DeserializeWorkflow Method (String)

Gets the Activity object described by the specified XAML markup.

Namespace:  Microsoft.TeamFoundation.Build.Workflow
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Shared Function DeserializeWorkflow ( _
    markup As String _
) As Activity
public static Activity DeserializeWorkflow(
    string markup
)
public:
static Activity^ DeserializeWorkflow(
    String^ markup
)
static member DeserializeWorkflow : 
        markup:string -> Activity
public static function DeserializeWorkflow(
    markup : String
) : Activity

Parameters

  • markup
    Type: System.String

    A XAML string that describes the workflow to deserialize.

Return Value

Type: System.Activities.Activity
The Activity described by the XAML markup.

.NET Framework Security

See Also

Reference

WorkflowHelpers Class

DeserializeWorkflow Overload

Microsoft.TeamFoundation.Build.Workflow Namespace