Share via


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

  • e
    Type: TEventArg
    The event argument.

See Also

Reference

MediaFlow Class

MediaFlow Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace