TcpConnectionInformation.State 属性

定义

获取此传输控制协议 (TCP) 连接的状态。

public:
 abstract property System::Net::NetworkInformation::TcpState State { System::Net::NetworkInformation::TcpState get(); };
public abstract System.Net.NetworkInformation.TcpState State { get; }
member this.State : System.Net.NetworkInformation.TcpState
Public MustOverride ReadOnly Property State As TcpState

属性值

TcpState 枚举值之一。

注解

枚举文档中介绍了 TcpState TCP 连接的状态。

适用于