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

  • sender
    Type: System.Object

    The object that will send the event.

  • args
    Type: T

    The data for the event.

Type Parameters

See Also

WebTestBaseExt Class
Microsoft.VisualStudio.TestTools.LoadTesting Namespace

Return to top