McuSession.RaiseAttendanceChanged<TProperties> Method
Raises a attendance changed event on behalf of the derived class.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Sub RaiseAttendanceChanged(Of TProperties As McuParticipantEndpointProperties) ( _
addedEndpoints As Collection(Of KeyValuePair(Of ParticipantEndpoint, McuParticipantEndpointProperties)), _
removedEndpoints As Collection(Of KeyValuePair(Of ParticipantEndpoint, McuParticipantEndpointProperties)), _
handler As EventHandler(Of ParticipantEndpointAttendanceChangedEventArgs(Of TProperties)) _
)
'Usage
Dim addedEndpoints As Collection(Of KeyValuePair(Of ParticipantEndpoint, McuParticipantEndpointProperties))
Dim removedEndpoints As Collection(Of KeyValuePair(Of ParticipantEndpoint, McuParticipantEndpointProperties))
Dim handler As EventHandler(Of ParticipantEndpointAttendanceChangedEventArgs(Of TProperties))
Me.RaiseAttendanceChanged(addedEndpoints, _
removedEndpoints, handler)
protected void RaiseAttendanceChanged<TProperties>(
Collection<KeyValuePair<ParticipantEndpoint, McuParticipantEndpointProperties>> addedEndpoints,
Collection<KeyValuePair<ParticipantEndpoint, McuParticipantEndpointProperties>> removedEndpoints,
EventHandler<ParticipantEndpointAttendanceChangedEventArgs<TProperties>> handler
)
where TProperties : McuParticipantEndpointProperties
Type Parameters
- TProperties
The strong type of the Participant properties.
Parameters
- addedEndpoints
Type: System.Collections.ObjectModel.Collection<KeyValuePair<ParticipantEndpoint, McuParticipantEndpointProperties>>
Endpoints added to the MCU.
- removedEndpoints
Type: System.Collections.ObjectModel.Collection<KeyValuePair<ParticipantEndpoint, McuParticipantEndpointProperties>>
Endpoints removed from the MCU.
- handler
Type: System.EventHandler<ParticipantEndpointAttendanceChangedEventArgs<TProperties>>
The multicast delegate to notify. May be null.