ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> Classe
Definição
Define um representante de atividade com um argumento de entrada do tipo T e um argumento de saída do tipo TResult.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 TResult>
public ref class ActivityFunc sealed : System::Activities::ActivityDelegate
public sealed class ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> : System.Activities.ActivityDelegate
type ActivityFunc<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'Result> = class
inherit ActivityDelegate
Public NotInheritable Class ActivityFunc(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult)
Inherits ActivityDelegate
Parâmetros de tipo
- T1
O tipo do primeiro argumento do delegado de atividade.The type of the first in argument of the activity delegate.
- T2
O tipo do segundo argumento do delegado de atividade.The type of the second in argument of the activity delegate.
- T3
O tipo do terceiro argumento do delegado de atividade.The type of the third in argument of the activity delegate.
- T4
O tipo do quarto argumento do delegado de atividade.The type of the fourth in argument of the activity delegate.
- T5
O tipo do quinto argumento do delegado de atividade.The type of the fifth in argument of the activity delegate.
- T6
O tipo do sexto argumento do delegado de atividade.The type of the sixth in argument of the activity delegate.
- T7
O tipo do sétimo argumento do delegado de atividade.The type of the seventh in argument of the activity delegate.
- T8
O tipo do oitavo argumento do delegado de atividade.The type of the eighth in argument of the activity delegate.
- T9
O tipo do nono argumento do delegado de atividade.The type of the ninth in argument of the activity delegate.
- T10
O tipo do décimo argumento do delegado de atividade.The type of the tenth in argument of the activity delegate.
- T11
O tipo do décimo primeiro argumento do delegado de atividade.The type of the eleventh in argument of the activity delegate.
- TResult
O tipo do argumento de saída do delegado de atividade.The type of the out argument of the activity delegate.
- Herança
Comentários
O ActivityDelegate permite que os autores de atividade exponham retornos de chamada com assinaturas específicas para as quais os usuários da atividade podem fornecer manipuladores baseados em atividade.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,TResult> é um ActivityDelegate que retorna um valor.ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> is an ActivityDelegate that returns a value. A assinatura do ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> é especificada como argumentos de tipo genérico.The signature of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> is specified as generic type arguments.
Há várias versões genéricas desse tipo que levam de 1 a 16 argumentos, além do out argumento, para a atividade que é chamada.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. Também há tipos de ActivityAction para delegados de atividade que não retornam valores.There are also ActivityAction types for activity delegates that do not return values.
Construtores
| ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>() |
Cria uma nova instância da classe ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>.Creates a new instance of the ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult> class. |
Propriedades
| Argument1 |
Obtém ou define o primeiro argumento de entrada do representante de atividade.Gets or sets the first in argument of the activity delegate. |
| Argument10 |
Obtém ou define o décimo argumento de entrada do delegado da atividade.Gets or sets the tenth in argument of the activity delegate. |
| Argument11 |
Obtém ou define o décimo primeiro argumento de entrada do representante de atividade.Gets or sets the eleventh in argument of the activity delegate. |
| Argument2 |
Obtém ou define o segundo argumento de entrada do representante de atividade.Gets or sets the second in argument of the activity delegate. |
| Argument3 |
Obtém ou define o terceiro argumento de entrada do representante de atividade.Gets or sets the third in argument of the activity delegate. |
| Argument4 |
Obtém ou define o quarto argumento de entrada do representante de atividade.Gets or sets the fourth in argument of the activity delegate. |
| Argument5 |
Obtém ou define o quinto argumento de entrada do representante de atividade.Gets or sets the fifth in argument of the activity delegate. |
| Argument6 |
Obtém ou define o sexto argumento de entrada do representante de atividade.Gets or sets the sixth in argument of the activity delegate. |
| Argument7 |
Obtém ou define o sétimo argumento de entrada do representante de atividade.Gets or sets the seventh in argument of the activity delegate. |
| Argument8 |
Obtém ou define o oitavo argumento de entrada do representante de atividade.Gets or sets the eighth in argument of the activity delegate. |
| Argument9 |
Obtém ou define o nono argumento de entrada do representante de atividade.Gets or sets the ninth in argument of the activity delegate. |
| DisplayName |
Obtém ou define um nome amigável opcional que é usado para depuração, validação, manipulação de exceções e acompanhamento.Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Herdado de ActivityDelegate) |
| Handler |
Obtém ou define a atividade que é representada por esse ActivityDelegate.Gets or sets the activity that is represented by this ActivityDelegate. (Herdado de ActivityDelegate) |
| Result |
Obtém ou define o argumento de saída do representante de atividade.Gets or sets the out argument of the activity delegate. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetResultArgument() |
Quando implementado em uma classe derivada, retorna o DelegateOutArgument do ActivityDelegate.When implemented in a derived class, returns the DelegateOutArgument of the ActivityDelegate. (Herdado de ActivityDelegate) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>) |
Fornece uma lista de argumentos de runtime para o ActivityDelegate.Supplies a list of runtime arguments for the ActivityDelegate. (Herdado de ActivityDelegate) |
| ShouldSerializeDisplayName() |
Indica se o valor da propriedade DisplayName deve ser serializado para XAML.Indicates whether the DisplayName property value should be serialized to XAML. (Herdado de ActivityDelegate) |
| ToString() |
Retorna uma representação de String do ActivityDelegate que contém o DisplayName.Returns a String representation of the ActivityDelegate that contains the DisplayName. (Herdado de ActivityDelegate) |
Aplica-se a
Confira também
- ActivityFunc<TResult>
- ActivityFunc<T,TResult>
- ActivityFunc<T1,T2,TResult>
- ActivityFunc<T1,T2,T3,TResult>
- ActivityFunc<T1,T2,T3,T4,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>
- ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>
- 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,T16,TResult>