RemoteConnectInfo 构造函数 (String, Int32, String, String, Boolean) |
实例化一个远程连接信息对象
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public RemoteConnectInfo(
string ipAddress,
int port,
string dtuId,
string password = "",
bool needAckResult = true
)
Public Sub New (
ipAddress As String,
port As Integer,
dtuId As String,
Optional password As String = "",
Optional needAckResult As Boolean = true
)
public:
RemoteConnectInfo(
String^ ipAddress,
int port,
String^ dtuId,
String^ password = L"",
bool needAckResult = true
)
new :
ipAddress : string *
port : int *
dtuId : string *
?password : string *
?needAckResult : bool
(* Defaults:
let _password = defaultArg password ""
let _needAckResult = defaultArg needAckResult true
*)
-> RemoteConnectInfo
参数
- ipAddress
- 类型:SystemString
IP地址 - port
- 类型:SystemInt32
端口号 - dtuId
- 类型:SystemString
DTU信息 - password (Optional)
- 类型:SystemString
密码 - needAckResult (Optional)
- 类型:SystemBoolean
是否需要返回注册结果
参见