WorkflowIdentity 类

定义

将保留的工作流实例映射到其对应的工作流定义。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)
继承
WorkflowIdentity
属性
实现

注解

此类支持 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 类的新实例。Initializes a new instance of the WorkflowIdentity class.

WorkflowIdentity(String, Version, String)

使用名称、版本和包初始化 WorkflowIdentity 类的新实例。Initializes a new instance of the WorkflowIdentity class using the name, version, and package.

属性

Name

获取或设置工作流标识的名称。Gets or sets the name of the workflow identity.

Package

获取或设置工作流标识的包。Gets or sets the package of the workflow identity.

Version

获取或设置工作流标识的版本。Gets or sets the version of the workflow identity.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

Equals(WorkflowIdentity)

确定当前的 WorkflowIdentity 和指定的 WorkflowIdentity 相同。Determines whether the current WorkflowIdentity and the specified WorkflowIdentity are the same.

GetHashCode()

返回此工作流标识的哈希代码。Returns the hash code for this workflow identity.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Parse(String)

转换 WorkflowIdentity 的字符串表示形式。Converts the string representation of the WorkflowIdentity.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

TryParse(String, WorkflowIdentity)

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

适用于