ערוך

שתף באמצעות


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:
 property TimeSpan ChannelInitializationTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan ChannelInitializationTimeout { get; set; }
member this.ChannelInitializationTimeout : TimeSpan with get, set
Public Property ChannelInitializationTimeout As TimeSpan

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