Gets or sets the connection idle timeout value. If the connection is idle for the duration specified by this value, the connection will be disconnected. To disable, the value can be set to TimeSpan.Zero.

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

Syntax

Visual Basic (Declaration)
Public 
Property 
ConnectionTimeout 
As 
TimeSpan
C#
public 
TimeSpan 
ConnectionTimeout { 
get; 
set; }
Visual C++
public:
property 
TimeSpan 
ConnectionTimeout {
	
TimeSpan 
get ();
	
void 
set (
TimeSpan 
value);
}
JavaScript
function get_
connectionTimeout();
function set_
connectionTimeout(
value);

Exceptions

Exception Condition
ArgumentOutOfRangeException Thrown when the value given is negative.
InvalidOperationException Thrown when the connection manager is not the server connection manager.

See Also