ConnectionOrientedTransportBindingElement.ChannelInitializationTimeout Property

Definition

Gets or sets a TimeSpan that determines the maximum time a channel can be in the initialization status before being disconnected.

public TimeSpan ChannelInitializationTimeout { get; set; }

Property Value

A TimeSpan after which a channel initialization request times out.

Remarks

This property determines how long a TCP connection can take to authenticate itself using the .NET Framing protocol. A client needs to send some initial data before the server has enough information to perform authentication. This timeout is intentionally made smaller than the ReceiveTimeout (10 min) so that malicious unauthenticated clients do not keep the connections tied up to the server for long. The default value is 30 seconds.

Applies to

Produkt Versjoner
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1