ActivityWithResult Class

Definition

检索活动 out 参数的值或类型。Retrieves the value or type of an activity out argument. 此类为抽象类,是从 Activity 类派生的。This class is abstract and derives from Activity class.

public ref class ActivityWithResult abstract : System::Activities::Activity
public abstract class ActivityWithResult : System.Activities.Activity
type ActivityWithResult = class
    inherit Activity
Public MustInherit Class ActivityWithResult
Inherits Activity
Inheritance
ActivityWithResult
Derived

Properties

CacheId

获取缓存的标识符,该标识符在工作流定义的作用域内是唯一的。Gets the identifier of the cache that is unique within the scope of the workflow definition.

(Inherited from Activity)
Constraints

获取可配置的 Constraint 活动的集合,用于为 Activity 提供验证。Gets a collection of Constraint activities that can be configured to provide validation for the Activity.

(Inherited from Activity)
DisplayName

获取或设置用于调试、验证、异常处理和跟踪的可选友好名称。Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

(Inherited from Activity)
Id

获取一个标识符,该标识符在工作流定义的作用域内是唯一的。Gets an identifier that is unique in the scope of the workflow definition.

(Inherited from Activity)
Implementation

获取或设置返回包含执行逻辑的 Activity 的委托。Gets or sets the delegate that returns an Activity that contains the execution logic.

(Inherited from Activity)
ImplementationVersion

获取或设置用于实现的版本。Gets or sets the version of the implementation used.

(Inherited from Activity)
Result

在派生类中实现时,获取或设置类型为 OutArgument 的对象的值。When implemented in a derived class, gets or sets the value of an object of type OutArgument.

ResultType

在派生类中实现时,获取 OutArgument 活动的类型。When implemented in a derived class, gets the type of an activity OutArgument.

Methods

CacheMetadata(ActivityMetadata)

创建并验证活动的自变量、变量、子活动和活动委托的说明。Creates and validates a description of the activity's arguments, variables, child activities, and activity delegates.

(Inherited from Activity)
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)
OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity)

创建动态更新映射时引发事件。Raises an event when creating dynamic update map.

(Inherited from Activity)
ShouldSerializeDisplayName()

指示是否应序列化 DisplayName 属性。Indicates whether the DisplayName property should be serialized.

(Inherited from Activity)
ToString()

返回包含 StringIdDisplayNameActivityReturns a String that contains the Id and DisplayName of the Activity.

(Inherited from Activity)

Applies to