LocalEndpoint.HandleSignalingSession Method
Intercepts an incoming signaling session before it is processed by the local endpoint (advanced).
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Overridable Function HandleSignalingSession ( _
sessionReceivedEventArgs As SessionReceivedEventArgs _
) As Boolean
'Usage
Dim sessionReceivedEventArgs As SessionReceivedEventArgs
Dim returnValue As Boolean
returnValue = Me.HandleSignalingSession(sessionReceivedEventArgs)
protected virtual bool HandleSignalingSession(
SessionReceivedEventArgs sessionReceivedEventArgs
)
Parameters
- sessionReceivedEventArgs
Type: Microsoft.Rtc.Signaling.SessionReceivedEventArgs
Information about the incoming signaling session received.
Return Value
Type: System.Boolean
Returns true if the session was intercepted and handled by the application.
Remarks
An application that intercepts an incoming signaling session must indicate whether it expects the local endpoint to handle it or not by returning false or true. An application that needs to process custom incoming signaling sessions must first create a derivative of ApplicationEndpoint or UserEndpoint and override this function.