MediaFlow.RaiseEvent<TEventArg> Method
Raises a generic event with a specific event argument type.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
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
The event argument type.
Parameters
- handler
Type: System.EventHandler<TEventArg>
The event handler.
- sender
Type: System.Object
sender for the event.
- e
Type: TEventArg
The event argument.