ReliableSessionElement.MaxPendingChannels Propriedade
Definição
Obtém ou define o número máximo de canais que podem aguardar para serem aceitos no ouvinte.Gets or sets the maximum number of channels that can wait to be accepted on the listener.
public:
property int MaxPendingChannels { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPendingChannels", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MaxValue=16384, MinValue=1)]
public int MaxPendingChannels { get; set; }
[<System.Configuration.ConfigurationProperty("maxPendingChannels", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MaxValue=16384, MinValue=1)>]
member this.MaxPendingChannels : int with get, set
Public Property MaxPendingChannels As Integer
Valor da propriedade
O número máximo de canais que podem aguardar para serem aceitos no ouvinte.The maximum number of channels that can wait to be accepted on the listener. O padrão é 128.The default is 128.
- Atributos
Comentários
Esse valor deve ser um inteiro entre 1 e 16384, inclusive.This value should be an integer between 1 and 16384 inclusively.
Os canais estão pendentes quando estão aguardando para serem aceitos.Channels are pending when they are waiting to be accepted. Depois que esse limite for atingido, nenhum canal será criado.Once that limit is reached, no channels are created. Em vez disso, eles são colocados no modo pendente até que esse número fique inativo (aceitando canais pendentes).Rather, they are put in pending mode until this number goes down (by accepting pending channels). Esse limite é para cada fábrica.This limit is for each factory.
Quando o limite é atingido e um aplicativo remoto tenta estabelecer uma nova sessão confiável, a solicitação é negada e a operação aberta que solicitou essa falha.When the threshold is reached and a remote application tries to establish a new reliable session, the request is denied and the open operation that prompted this faults. Esse limite não se aplica ao número de canais de saída pendentes.This limit does not apply to the number of pending outgoing channels.