YRC1000TcpNet.ReadFromCoreServerAsync 方法 (Socket, String) |
Read string value from socket
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.3.0.0 (12.3.0.0)
语法protected Task<OperateResult<string>> ReadFromCoreServerAsync(
Socket socket,
string send
)
Protected Function ReadFromCoreServerAsync (
socket As Socket,
send As String
) As Task(Of OperateResult(Of String))
protected:
Task<OperateResult<String^>^>^ ReadFromCoreServerAsync(
Socket^ socket,
String^ send
)
member ReadFromCoreServerAsync :
socket : Socket *
send : string -> Task<OperateResult<string>>
参数
- socket
- 类型:System.Net.Sockets.Socket
connected socket - send
- 类型:System.String
string value
返回值
类型:
Task<OperateResult<String>>received string value with is successfully
参见