Partager via


MediaProvider.RaiseEvent<T> Method

Raises the specified event.

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

Syntax

'Declaration
Protected Sub RaiseEvent(Of T As EventArgs) ( _
    signalingContext As CallDialogContext, _
    eventHandler As EventHandler(Of T), _
    sender As Object, _
    eventArgs As T _
)
'Usage
Dim signalingContext As CallDialogContext
Dim eventHandler As EventHandler(Of T)
Dim sender As Object
Dim eventArgs As T

Me.RaiseEvent(signalingContext, eventHandler, _
    sender, eventArgs)
protected void RaiseEvent<T>(
    CallDialogContext signalingContext,
    EventHandler<T> eventHandler,
    Object sender,
    T eventArgs
)
where T : EventArgs

Type Parameters

  • T
    The type of the event.

Parameters

  • eventArgs
    Type: T
    Event arguments.

Remarks

This method is a helper function that can be used to raise events.

See Also

Reference

MediaProvider Class

MediaProvider Members

Microsoft.Rtc.Collaboration.ComponentModel Namespace