LocalServiceSecuritySettings.NegotiationTimeout Property

Definition

Gets or sets the maximum duration of the security negotiation phase between client and service.

public:
 property TimeSpan NegotiationTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan NegotiationTimeout { get; set; }
member this.NegotiationTimeout : TimeSpan with get, set
Public Property NegotiationTimeout As TimeSpan

Property Value

A TimeSpan that represents the maximum duration of the security negotiation phase between client and service. Any negotiation with the service (for example during message level SPNego or SSL authentication) must complete within this time. The default is 1 minute.

Exceptions

The property is set to a value less than 0.

Examples

This example shows how to get the value of this property.

TimeSpan negotiationTimeout = settings.NegotiationTimeout;
Dim negotiationTimeout As TimeSpan = settings.NegotiationTimeout

Remarks

If this limit is exceeded, an exception is thrown.

Applies to