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.

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.

Derivado
Atributos

Comentários

Observação

Este material discute tipos e namespaces obsoletos. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).

A digitação dos argumentos de evento é importante para essa definição.

Métodos

OnEvent(Object, T)

Define o procedimento de processamento quando o evento assinado ocorre.

Aplica-se a