Share via


WebTestBaseExt.FireEventHandler<T> Method

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

Parameters

  • eh
    Type: EventHandler<T>

    The event handler that will receive the events.

  • sender
    Type: Object

    The object that will send the event.

  • args
    Type: T

    The data for the event.

.NET Framework Security

See Also

Reference

WebTestBaseExt Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace