IActivityEventListener<T> Interface
Definição
Cuidado
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Define a interface para um objeto que escuta um evento.Defines the interface for an object that listens for an event.
generic <typename T>
where T : EventArgspublic interface class IActivityEventListener
public interface IActivityEventListener<T> where T : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public interface IActivityEventListener<T> where T : EventArgs
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type IActivityEventListener<'T (requires 'T :> EventArgs)> = interface
Public Interface IActivityEventListener(Of T)
Parâmetros de tipo
- T
O tipo do argumento de evento.The type of the event argument.
- Derivado
- Atributos
Comentários
Observação
Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
A digitação dos argumentos do evento é importante para essa definição.The typing of the event arguments is important to this definition.
Métodos
| OnEvent(Object, T) |
Define o procedimento de processamento quando o evento assinado ocorre.Defines the processing procedure when the subscribed-to event occurs. |