[ObsoleteAttribute("此操作已被弃用,请直接使用CloseAsync代替", true)]
public static Task SafeCloseAsync<TClient>(
this TClient client
)
where TClient : IClosableClient
<ExtensionAttribute>
<ObsoleteAttribute("此操作已被弃用,请直接使用CloseAsync代替", true)>
Public Shared Function SafeCloseAsync(Of TClient As IClosableClient) (
client As TClient
) As Task[<ExtensionAttribute>]
[<ObsoleteAttribute("此操作已被弃用,请直接使用CloseAsync代替", true)>]
static member SafeCloseAsync :
client : 'TClient -> Task when 'TClient : IClosableClient[缺少 "M:TouchSocket.Sockets.ClientExtension.SafeCloseAsync``1(``0)" 的 <returns> 文档]