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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.