Share via


RaiseEvent(TEventArg) Method

Raises a generic event with a specific event argument type.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Protected Sub RaiseEvent(Of TEventArg As EventArgs) ( _
    handler As EventHandler(Of TEventArg), _
    sender As Object, _
    e As TEventArg _
)
'Usage
Dim handler As EventHandler(Of TEventArg)
Dim sender As Object
Dim e As TEventArg

Me.RaiseEvent(handler, sender, e)
protected void RaiseEvent<TEventArg>(
    EventHandler<TEventArg> handler,
    Object sender,
    TEventArg e
)
where TEventArg : EventArgs

Type Parameters

  • TEventArg

Parameters

  • e
    Type: TEventArg

See Also

Reference

Call Class

Call Members

Microsoft.Rtc.Collaboration Namespace