ApplicationEndpoint.GetMatchingConversation Method
Intercepts an incoming signaling session for conference type endpoints Conference when there is more than one conversation (advanced).
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Overridable Function GetMatchingConversation ( _
sessionReceivedEventArgs As SessionReceivedEventArgs _
) As Conversation
'Usage
Dim sessionReceivedEventArgs As SessionReceivedEventArgs
Dim returnValue As Conversation
returnValue = Me.GetMatchingConversation(sessionReceivedEventArgs)
protected virtual Conversation GetMatchingConversation(
SessionReceivedEventArgs sessionReceivedEventArgs
)
Parameters
- sessionReceivedEventArgs
Type: Microsoft.Rtc.Signaling.SessionReceivedEventArgs
Information about the incoming signaling session received.
Return Value
Type: Microsoft.Rtc.Collaboration.Conversation
Returns the Conversation to be used to route incoming signaling session. Can return null if the application cannot find the matching conversation.
Remarks
When endpoint type is Conference incoming signaling session cannot be routed to conversations based on conversation identifiers. For this reason, if there is more than one conversation present, application needs to decide which conversation should handle the incoming signaling session and return it by overriding this function.
An application that overrides this function must first create a derivative of ApplicationEndpoint.
If an application returns null then we will decline the incoming session.