Stops listening for new connections.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
StopListening
C#
public 
void 
StopListening()
Visual C++
public:
void 
StopListening()
JavaScript
function 
stopListening();

Exceptions

Exception Condition
InvalidOperationException Thrown when the endpoint never listened or already stopped listening.
Microsoft.Rtc.Signaling . . :: . OperationTimeoutException Thrown when the endpoint stopped listening and timed out.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when the operation failed.

See Also