IActivityEventListener<T> Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Defines the interface for an object that listens for an event.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface IActivityEventListener<T>
where T : EventArgs

Type Parameters


The type of the event argument.

System_CAPS_pubmethodOnEvent(Object, T)

Defines the processing procedure when the subscribed-to event occurs.


This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The typing of the event arguments is important to this definition.

.NET Framework
Available since 3.0
Return to top