SocketElement.AlwaysUseCompletionPortsForConnect 属性

定义

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

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

属性值

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

属性

适用于

另请参阅