SignalingSession.TerminatedByRemote Event
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.
Raised when the remote side terminates the session by sending a Bye or Cancel message. This event is optional for an application. This event is useful only if the application is interested in accessing the headers in the Bye or Cancel message for custom scenarios.
public:
event EventHandler<Microsoft::Rtc::Signaling::SipRequestReceivedEventArgs ^> ^ TerminatedByRemote;
public event EventHandler<Microsoft.Rtc.Signaling.SipRequestReceivedEventArgs> TerminatedByRemote;
member this.TerminatedByRemote : EventHandler<Microsoft.Rtc.Signaling.SipRequestReceivedEventArgs>
Public Custom Event TerminatedByRemote As EventHandler(Of SipRequestReceivedEventArgs)
Event Type
Remarks
In the case of a Bye message with headers, there is no way to access a 200 OK message using this event. Bye messages are sent only when an application calls either of the overloaded SignalingSession.BeginTerminate methods, so if an application needs access to the 200 OK message, use the value returned by either of these methods.