ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> 類別

定義

定義具有一個型別 T 之 in 引數和一個型別 TResult 之 out 引數的活動委派。Defines an activity delegate with one in argument of type T and one out argument of type TResult.

generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename TResult>
public ref class ActivityFunc sealed : System::Activities::ActivityDelegate
public sealed class ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> : System.Activities.ActivityDelegate
type ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'Result> = class
    inherit ActivityDelegate
Public NotInheritable Class ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult)
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.

T6

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

T7

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

T8

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

T9

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

T10

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

T11

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

T12

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

T13

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

T14

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

T15

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

TResult

活動委派的 out 引數型別。The type of the out argument of the activity delegate.

繼承
ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>

備註

ActivityDelegate 可讓活動作者使用特定的簽章以公開回呼,活動使用者可據此提供活動處理常式。The ActivityDelegate enables activity authors to expose callbacks with specific signatures that users of the activity can provide activity-based handlers for. ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>ActivityDelegate,可傳回值。ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> is an ActivityDelegate that returns a value. ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> 的簽章指定為泛型型別引數。The signature of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> is specified as generic type arguments.

此型別的多個泛型版本,會從1到16個引數,再加上 out 引數(針對所呼叫的活動)。There are multiple generic versions of this type that take from 1 to 16 in arguments, plus the out argument, for the activity that is called. 此外,也有不會傳回值的活動委派 ActivityAction 類型。There are also ActivityAction types for activity delegates that do not return values.

建構函式

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>()

建立 ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> 類別的新執行個體。Creates a new instance of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult> class.

屬性

Argument1

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

Argument10

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

Argument11

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

Argument12

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

Argument13

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

Argument14

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

Argument15

取得或設定活動委派的第十五個 in 引數。Gets or sets the fifteenth 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.

Argument6

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

Argument7

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

Argument8

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

Argument9

取得或設定活動委派的第九個 in 引數。Gets or sets the ninth 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)
Result

取得或設定活動委派的 out 引數。Gets or sets the out argument of the activity delegate.

方法

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)

適用於

另請參閱