Activity.Invoke<T> Method (EventHandler<T>, T)

 

Subscribes an EventHandler and invokes that delegate.

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

protected internal void Invoke<T>(
	EventHandler<T> handler,
	T e
)
where T : EventArgs

Parameters

handler
Type: System.EventHandler<T>

The EventHandler to be invoked.

e
Type: T

The EventArgs to associate with this event

Type Parameters

T

The specified type.

.NET Framework
Available since 3.0
Return to top
Show: