WebTestBaseExt.FireEventHandler<T> Method (EventHandler<T>, Object, T)
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
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<'T when 'T : EventArgs> :
eh:EventHandler<'T> *
sender:Object *
args:'T -> unit
Protected Sub FireEventHandler(Of T As EventArgs) (
eh As EventHandler(Of T),
sender As Object,
args As T
)
Parameters
eh
Type: System.EventHandler<T>The event handler that will receive the events.
sender
Type: System.ObjectThe object that will send the event.
args
Type: TThe data for the event.
Type Parameters
- T
An EventArgs object.
See Also
WebTestBaseExt Class
Microsoft.VisualStudio.TestTools.LoadTesting Namespace
Return to top