Activity.Closed Evento

Definición

Se produce cuando ha completa una operación Activity ha completado la ejecución.Occurs when an Activity has completed execution.

public:
 event EventHandler<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^> ^ Closed;
[System.ComponentModel.Browsable(false)]
public event EventHandler<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> Closed;
[<System.ComponentModel.Browsable(false)>]
member this.Closed : EventHandler<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs> 
Public Custom Event Closed As EventHandler(Of ActivityExecutionStatusChangedEventArgs) 

Tipo de evento

EventHandler<ActivityExecutionStatusChangedEventArgs>
Atributos

Comentarios

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate.

El método Closed también permite que las clases derivadas controlen el evento sin adjuntar ningún delegado.The Closed method also allows derived classes to handle the event without attaching a delegate. Ésta es la técnica preferida para controlar el evento en una clase derivada.This is the preferred technique for handling the event in a derived class.

Para obtener más información sobre el manejo de eventos, consulte controlar y provocar eventos.For more information about handling events, see Handling and Raising Events.

Notas a los desarrolladores de herederos

Al reemplazar Closed en una clase derivada, asegúrese de llamar al método Closed de la clase base para que los delegados registrados reciban el evento.When overriding Closed in a derived class, make sure to call the base class Closed method so that registered delegates receive the event.

Se aplica a