Activity::Invoke<T> Method (IActivityEventListener<T>^, T)

 

Subscribes an IActivityEventListener<T> 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(
	IActivityEventListener<T>^ eventListener,
	T e
)

Parameters

eventListener
Type: System.Workflow.ComponentModel::IActivityEventListener<T>^

The IActivityEventListener<T> 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: