Share via


ProjectWorkflowContext.ParseXml method

Creates an instance of ProjectWorkflowContext, based on the specified XML data.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Shared Function ParseXml ( _
    xmlInput As String _
) As ProjectWorkflowContext
'Usage
Dim xmlInput As String
Dim returnValue As ProjectWorkflowContext

returnValue = ProjectWorkflowContext.ParseXml(xmlInput)
public static ProjectWorkflowContext ParseXml(
    string xmlInput
)

Parameters

Return value

Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext

Remarks

If any part of the serialized XML is not valid, the ParseXml method throws an InvalidOperationException.

See also

Reference

ProjectWorkflowContext class

ProjectWorkflowContext members

Microsoft.Office.Project.Server.Library namespace