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)

public protected:
generic<typename T>
where T : EventArgs
void Invoke(
	EventHandler<T>^ handler,
	T e
)

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: