Edit

Share via


MediaProvider.RaiseEvent<T> Method

Definition

Raises the specified event.

protected:
generic <typename T>
 where T : EventArgs void RaiseEvent(Microsoft::Rtc::Collaboration::CallDialogContext ^ signalingContext, EventHandler<T> ^ eventHandler, System::Object ^ sender, T eventArgs);
protected void RaiseEvent<T> (Microsoft.Rtc.Collaboration.CallDialogContext signalingContext, EventHandler<T> eventHandler, object sender, T eventArgs) where T : EventArgs;
member this.RaiseEvent : Microsoft.Rtc.Collaboration.CallDialogContext * EventHandler<'T (requires 'T :> EventArgs)> * obj * 'T -> unit (requires 'T :> EventArgs)
Protected Sub RaiseEvent(Of T As EventArgs) (signalingContext As CallDialogContext, eventHandler As EventHandler(Of T), sender As Object, eventArgs As T)

Type Parameters

T

The type of the event.

Parameters

signalingContext
CallDialogContext

The signaling context of the call.

eventHandler
EventHandler<T>

The event handler for the event to be raised.

sender
Object

The event sender.

eventArgs
T

Event arguments.

Remarks

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

Applies to