ActivityAction<T1,T2,T3,T4,T5> 類別

定義

定義活動委派,其中擁有五個 in 引數而且不會傳回值。Defines an activity delegate that has five in arguments and does not return a value.

generic <typename T1, typename T2, typename T3, typename T4, typename T5>
public ref class ActivityAction sealed : System::Activities::ActivityDelegate
public sealed class ActivityAction<T1,T2,T3,T4,T5> : System.Activities.ActivityDelegate
type ActivityAction<'T1, 'T2, 'T3, 'T4, 'T5> = class
    inherit ActivityDelegate
Public NotInheritable Class ActivityAction(Of T1, T2, T3, T4, T5)
Inherits ActivityDelegate

類型參數

T1

活動委派的第一個 in 引數的型別。The type of the first in argument of the activity delegate.

T2

活動委派的第二個 in 引數的型別。The type of the second in argument of the activity delegate.

T3

活動委派的第三個 in 引數的型別。The type of the third in argument of the activity delegate.

T4

活動委派的第四個 in 引數的型別。The type of the fourth in argument of the activity delegate.

T5

活動委派的第五個 in 引數的型別。The type of the fifth in argument of the activity delegate.

繼承
ActivityAction<T1,T2,T3,T4,T5>

備註

活動委派會允許開發人員定義由協力廠商指定之活動所需的簽章。An activity delegate allows a developer to define the required signature of an activity that will be specified by a third party.

此型別有多個泛型版本,取自已呼叫活動中第 1 至 16 個引數。There are multiple generic versions of this type that take from 1 to 16 arguments for the activity that is called. 此外,也有傳回值的活動委派 ActivityFunc 類型。There are also ActivityFunc types for activity delegates that return values.

建構函式

ActivityAction<T1,T2,T3,T4,T5>()

建立 ActivityAction<T1,T2,T3,T4,T5> 類別的新執行個體。Creates a new instance of the ActivityAction<T1,T2,T3,T4,T5> class.

屬性

Argument1

取得或設定活動委派的第一個 in 引數。Gets or sets the first in argument of the activity delegate.

Argument2

取得或設定活動委派的第二個 in 引數。Gets or sets the second in argument of the activity delegate.

Argument3

取得或設定活動委派的第三個 in 引數。Gets or sets the third in argument of the activity delegate.

Argument4

取得或設定活動委派的第四個 in 引數。Gets or sets the fourth in argument of the activity delegate.

Argument5

取得或設定活動委派的第五個 in 引數。Gets or sets the fifth in argument of the activity delegate.

DisplayName

取得或設定選擇性的易記名稱,這個名稱會用於偵錯、驗證、例外狀況處理及追蹤。Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

(繼承來源 ActivityDelegate)
Handler

取得或設定由這個 ActivityDelegate 表示的活動。Gets or sets the activity that is represented by this ActivityDelegate.

(繼承來源 ActivityDelegate)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetResultArgument()

在衍生類別中實作時,會傳回 DelegateOutArgumentActivityDelegateWhen implemented in a derived class, returns the DelegateOutArgument of the ActivityDelegate.

(繼承來源 ActivityDelegate)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>)

提供 ActivityDelegate 的執行階段引數清單。Supplies a list of runtime arguments for the ActivityDelegate.

(繼承來源 ActivityDelegate)
ShouldSerializeDisplayName()

表示 DisplayName 屬性值是否應序列化為 XAML。Indicates whether the DisplayName property value should be serialized to XAML.

(繼承來源 ActivityDelegate)
ToString()

傳回 StringActivityDelegate 表示,其中包含 DisplayNameReturns a String representation of the ActivityDelegate that contains the DisplayName.

(繼承來源 ActivityDelegate)

適用於

另請參閱