ApplicationEndpoint.GetMatchingConversation(SessionReceivedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Intercepts an incoming signaling session for conference type endpoints Conference when there is more than one conversation (advanced).
protected:
virtual Microsoft::Rtc::Collaboration::Conversation ^ GetMatchingConversation(Microsoft::Rtc::Signaling::SessionReceivedEventArgs ^ sessionReceivedEventArgs);
protected virtual Microsoft.Rtc.Collaboration.Conversation GetMatchingConversation (Microsoft.Rtc.Signaling.SessionReceivedEventArgs sessionReceivedEventArgs);
abstract member GetMatchingConversation : Microsoft.Rtc.Signaling.SessionReceivedEventArgs -> Microsoft.Rtc.Collaboration.Conversation
override this.GetMatchingConversation : Microsoft.Rtc.Signaling.SessionReceivedEventArgs -> Microsoft.Rtc.Collaboration.Conversation
Parameters
- sessionReceivedEventArgs
- SessionReceivedEventArgs
Information about the incoming signaling session received.
Returns
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.