Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Passes events to the members of the invocation list of an event handler.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestPackage (in Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll)
Syntax
'Declaration
Protected Sub FireEventHandler(Of T As EventArgs) ( _
eh As EventHandler(Of T), _
sender As Object, _
args As T _
)
protected void FireEventHandler<T>(
EventHandler<T> eh,
Object sender,
T args
)
where T : EventArgs
protected:
generic<typename T>
where T : EventArgs
void FireEventHandler(
EventHandler<T>^ eh,
Object^ sender,
T args
)
member FireEventHandler :
eh:EventHandler<'T> *
sender:Object *
args:'T -> unit when 'T : EventArgs
JScript does not support generic types or methods.
Type Parameters
- T
An EventArgs object.
Parameters
- eh
Type: System.EventHandler<T>
The event handler that will receive the events.
- sender
Type: System.Object
The object that will send the event.
- args
Type: T
The data for the event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.