IEventActivity Interfaz

Definición

Precaución

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Proporciona métodos y propiedades de los que deben derivarse las actividades orientadas a eventos para suscribirse a eventos.Provides methods and properties that event-driven activities must derive from, to subscribe to events.

public interface class IEventActivity
public interface IEventActivity
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IEventActivity
type IEventActivity = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type IEventActivity = interface
Public Interface IEventActivity
Derivado
Atributos

Comentarios

Nota

En esta documentación se describen los tipos y espacios de nombres que están obsoletos.This material discusses types and namespaces that are obsolete. Para obtener más información, vea Tipos en desuso en Windows Workflow Foundation 4.5.For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Propiedades

QueueName

Obtiene el nombre de la WorkflowQueue en la que la actividad espera la llegada de datos.Gets the name of the WorkflowQueue on which the activity is waiting for data to arrive.

Métodos

Subscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

Crea la suscripción de Activity a un evento.Creates the subscription of an Activity to an event.

Unsubscribe(ActivityExecutionContext, IActivityEventListener<QueueEventArgs>)

Cancela la suscripción de Activity a un evento.Cancels the subscription of an Activity to an event.

Se aplica a