WorkflowIdentity.TryParse(String, WorkflowIdentity) Method

Definition

分析字符串并创建 WorkflowIdentity 的新实例。Parses the string and creates a new instance of a WorkflowIdentity.

public:
 static bool TryParse(System::String ^ identity, [Runtime::InteropServices::Out] System::Activities::WorkflowIdentity ^ % result);
public static bool TryParse (string identity, out System.Activities.WorkflowIdentity result);
static member TryParse : string * WorkflowIdentity -> bool
Public Shared Function TryParse (identity As String, ByRef result As WorkflowIdentity) As Boolean

Parameters

identity
String

新的标识。A new identity.

result
WorkflowIdentity

从字符串生成的结果。The result created from the string.

Returns

Boolean

如果已为此工作流标识实例创建了一个值,则为 true;否则为 falsetrue if a WorkflowIdentity instance has been created; otherwise, false.

Applies to