一款简单易用的基础网络通讯组件库。

DmtpActorSendAsync(UInt16, String, CancellationToken) 方法

[缺少 "M:TouchSocket.Dmtp.DmtpActor.SendAsync(System.UInt16,System.String,System.Threading.CancellationToken)" 的 <summary> 文档]

Definition

命名空间: TouchSocket.Dmtp
程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public Task SendAsync(
	ushort protocol,
	string value,
	CancellationToken cancellationToken = default
)

参数

protocol  UInt16

[缺少 "M:TouchSocket.Dmtp.DmtpActor.SendAsync(System.UInt16,System.String,System.Threading.CancellationToken)" 的 <param name="protocol"/> 文档]

value  String

[缺少 "M:TouchSocket.Dmtp.DmtpActor.SendAsync(System.UInt16,System.String,System.Threading.CancellationToken)" 的 <param name="value"/> 文档]

cancellationToken  CancellationToken  (Optional)

[缺少 "M:TouchSocket.Dmtp.DmtpActor.SendAsync(System.UInt16,System.String,System.Threading.CancellationToken)" 的 <param name="cancellationToken"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.Dmtp.DmtpActor.SendAsync(System.UInt16,System.String,System.Threading.CancellationToken)" 的 <returns> 文档]

实现

IDmtpActorSendAsync(UInt16, String, CancellationToken)

参见