ActivityInstance Class

Definition

表示在运行时活动的实例状态。Represents the instance state of an activity at runtime.

public ref class ActivityInstance sealed
[System.Runtime.Serialization.DataContract(Name="ActivityInstance", Namespace="http://schemas.datacontract.org/2010/02/System.Activities")]
public sealed class ActivityInstance
type ActivityInstance = class
    interface ActivityInstanceMap.IActivityReference
type ActivityInstance = class
    interface ActivityInstanceMap.IActivityReferenceWithEnvironment
    interface ActivityInstanceMap.IActivityReference
Public NotInheritable Class ActivityInstance
Inheritance
ActivityInstance
Attributes

Properties

Activity

获取由当前 ActivityInstance 表示的活动。Gets the activity represented by the current ActivityInstance.

Id

获取唯一标识 ActivityInstance 的标识符。Gets an identifier that uniquely identifies the ActivityInstance.

ImplementationVersion

获取或设置实例的实现版本。Gets or sets the implementation version for the instance.

IsCompleted

获取一个值,该值指示由当前 ActivityInstance 表示的活动是否已完成。Gets a value that indicates whether the activity represented by the current ActivityInstance is completed.

State

获取当前 ActivityInstanceStateActivityInstanceGets the ActivityInstanceState of the current ActivityInstance.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to