| PipeTcpNetConnectTimeOut 属性  | 
 
            获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 
            Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback
            
 
        命名空间: 
     HslCommunication.Core.Pipe
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public int ConnectTimeOut { get; set; }Public Property ConnectTimeOut As Integer
	Get
	Set
public:
property int ConnectTimeOut {
	int get ();
	void set (int value);
}member ConnectTimeOut : int with get, set
属性值
类型:
Int32 备注
备注
            超时的通常原因是服务器端没有配置好,导致访问失败,为了不卡死软件,所以有了这个超时的属性。
            
 示例
示例
            设置1秒的接收超时的示例
            
client.ReceiveTimeOut = 1000;
OperateResult write = client.Write( "100", 123 );
 参见
参见