NetSimplifyClientReadCustomerFromServerAsync 方法 (NetHandle, String) |
客户端向服务器进行请求,请求字符串数据,并返回状态信息
命名空间:
HslCommunication.Enthernet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<NetHandle, string>> ReadCustomerFromServerAsync(
NetHandle customer,
string send
)
Public Function ReadCustomerFromServerAsync (
customer As NetHandle,
send As String
) As Task(Of OperateResult(Of NetHandle, String))
public:
Task<OperateResult<NetHandle, String^>^>^ ReadCustomerFromServerAsync(
NetHandle customer,
String^ send
)
member ReadCustomerFromServerAsync :
customer : NetHandle *
send : string -> Task<OperateResult<NetHandle, string>>
参数
- customer
- 类型:HslCommunicationNetHandle
用户的指令头 - send
- 类型:SystemString
发送数据
返回值
类型:
TaskOperateResultNetHandle,
String带返回消息的结果对象
参见