NetTcpSection.ListenBacklog 属性

定义

获取或设置从共享连接接受但尚未调度给 WCF 服务的最大未完成连接数。Gets or sets the maximum outstanding connections that are accepted from the shared connection, but are not yet dispatched to WCF services.

public:
 property int ListenBacklog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int ListenBacklog { get; set; }
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int ListenBacklog { get; set; }
[<System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.ListenBacklog : int with get, set
[<System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.ListenBacklog : int with get, set
Public Property ListenBacklog As Integer

属性值

Int32

从共享连接接受但尚未调度到 WCF 的最大未处理连接数。The maximum outstanding connections that are accepted from the shared connection, but are not yet dispatched to WCF. 默认值为 10。The default is 10.

属性

适用于