Partilhar via


RealTimeServerConnectionManager.DefaultIncomingConnectionTimeout Property

Gets or sets the default time-out value for any incoming connections. Any incoming connection that is idle for the duration specified by this value will be disconnected. This value does not affect existing connections.

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

Syntax

'Declaration
Public Property DefaultIncomingConnectionTimeout As TimeSpan
    Get
    Set
'Usage
Dim instance As RealTimeServerConnectionManager
Dim value As TimeSpan

value = instance.DefaultIncomingConnectionTimeout

instance.DefaultIncomingConnectionTimeout = value
public TimeSpan DefaultIncomingConnectionTimeout { get; set; }

Property Value

Type: System.TimeSpan

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the value given is negative.

See Also

Reference

RealTimeServerConnectionManager Class

RealTimeServerConnectionManager Members

Microsoft.Rtc.Signaling Namespace