WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity Class

定義

將永續性工作流程執行個體對應至其對應的工作流程定義。Maps a persisted workflow instance to its corresponding workflow definition.

public ref class WorkflowIdentity : IEquatable<System::Activities::WorkflowIdentity ^>
[System.ComponentModel.TypeConverter(typeof(System.Activities.XamlIntegration.WorkflowIdentityConverter))]
[System.Runtime.Serialization.DataContract]
[System.Serializable]
public class WorkflowIdentity : IEquatable<System.Activities.WorkflowIdentity>
type WorkflowIdentity = class
    interface IEquatable<WorkflowIdentity>
Public Class WorkflowIdentity
Implements IEquatable(Of WorkflowIdentity)
繼承
WorkflowIdentityWorkflowIdentityWorkflowIdentityWorkflowIdentity
屬性
實作

備註

這個類別支援 Windows Workflow Foundation 的版本控制和動態更新功能。This class supports the versioning and dynamic update functionality of Windows Workflow Foundation. 如需有關工作流程版本控制、 工作流程識別和動態更新的詳細資訊,請參閱下列主題:For more information about workflow versioning, workflow identity, and dynamic update, see the following topics:

建構函式

WorkflowIdentity() WorkflowIdentity() WorkflowIdentity() WorkflowIdentity()

初始化 WorkflowIdentity 類別的新執行個體。Initializes a new instance of the WorkflowIdentity class.

WorkflowIdentity(String, Version, String) WorkflowIdentity(String, Version, String) WorkflowIdentity(String, Version, String) WorkflowIdentity(String, Version, String)

使用名稱、版本和封裝,初始化 WorkflowIdentity 類別的新執行個體。Initializes a new instance of the WorkflowIdentity class using the name, version, and package.

屬性

Name Name Name Name

取得或設定工作流程識別的名稱。Gets or sets the name of the workflow identity.

Package Package Package Package

取得或設定工作流程識別的封裝。Gets or sets the package of the workflow identity.

Version Version Version Version

取得或設定工作流程識別的版本。Gets or sets the version of the workflow identity.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

Equals(WorkflowIdentity) Equals(WorkflowIdentity) Equals(WorkflowIdentity) Equals(WorkflowIdentity)

判斷目前的 WorkflowIdentity 和指定的 WorkflowIdentity 是否相同。Determines whether the current WorkflowIdentity and the specified WorkflowIdentity are the same.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回這個工作流程執識別的雜湊碼。Returns the hash code for this workflow identity.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

轉換 WorkflowIdentity 的字串表示。Converts the string representation of the WorkflowIdentity.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

TryParse(String, WorkflowIdentity) TryParse(String, WorkflowIdentity) TryParse(String, WorkflowIdentity) TryParse(String, WorkflowIdentity)

剖析字串,並建立 WorkflowIdentity 的新執行個體。Parses the string and creates a new instance of a WorkflowIdentity.

適用於