LocalServiceSecuritySettings.NegotiationTimeout Propriedade

Definição

Obtém ou define a duração máxima da fase de negociação de segurança entre cliente e serviço.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

Valor da propriedade

TimeSpan

Um TimeSpan valor que representa a duração máxima da fase de negociação de segurança entre o cliente e o serviço.A TimeSpan that represents the maximum duration of the security negotiation phase between client and service. Qualquer negociação com o serviço (por exemplo, durante a autenticação de nível de mensagem SPNego ou SSL) deve ser concluída nesse momento.Any negotiation with the service (for example during message level SPNego or SSL authentication) must complete within this time. O padrão é 1 minuto.The default is 1 minute.

Exceções

A propriedade está definida com um valor menor que 0.The property is set to a value less than 0.

Exemplos

Este exemplo mostra como obter o valor dessa propriedade.This example shows how to get the value of this property.

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

Comentários

Se esse limite for excedido, uma exceção será lançada.If this limit is exceeded, an exception is thrown.

Aplica-se a