Activity::Invoke<T> Method (EventHandler<T>^, T)
.NET Framework (current version)
Subscribes an EventHandler and invokes that delegate.
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
Available since 3.0
Show: