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

IConnectableServiceResetIdAsync 方法

重置指定客户端的Id

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
Task ResetIdAsync(
	string sourceId,
	string targetId,
	CancellationToken cancellationToken = default
)

参数

sourceId  String
源Id
targetId  String
目标Id
cancellationToken  CancellationToken  (Optional)

[缺少 "M:TouchSocket.Sockets.IConnectableService.ResetIdAsync(System.String,System.String,System.Threading.CancellationToken)" 的 <param name="cancellationToken"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.Sockets.IConnectableService.ResetIdAsync(System.String,System.String,System.Threading.CancellationToken)" 的 <returns> 文档]

参见