SocketElement.AlwaysUseCompletionPortsForAccept 属性

定义

获取或设置一个布尔值,该值指定是否在接受连接时使用完成端口。

public:
 property bool AlwaysUseCompletionPortsForAccept { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("alwaysUseCompletionPortsForAccept", DefaultValue=false)]
public bool AlwaysUseCompletionPortsForAccept { get; set; }
[<System.Configuration.ConfigurationProperty("alwaysUseCompletionPortsForAccept", DefaultValue=false)>]
member this.AlwaysUseCompletionPortsForAccept : bool with get, set
Public Property AlwaysUseCompletionPortsForAccept As Boolean

属性值

如果使用完成端口,则为 true,否则为 false

属性

适用于

另请参阅