Partilhar via


RealTimeServerConnectionManager.StopListening Method

Stops listening for new connections.

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

Syntax

'Declaration
Public Sub StopListening
'Usage
Dim instance As RealTimeServerConnectionManager

instance.StopListening()
public void StopListening()

Exceptions

Exception Condition
InvalidOperationException

Thrown when the endpoint never listened or already stopped listening.

OperationTimeoutException

Thrown when the endpoint stopped listening and timed out.

RealTimeException

Thrown when the operation failed.

See Also

Reference

RealTimeServerConnectionManager Class

RealTimeServerConnectionManager Members

Microsoft.Rtc.Signaling Namespace