IMessageHandlerTryParseAsync - метод
Пространство имён: Tessa.Extensions.Default.Server.NoticesСборка: Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 4.0.4
ValueTask<IMessageInfo> TryParseAsync(
NoticeMessage message,
CancellationToken cancellationToken = default
)
Function TryParseAsync (
message As NoticeMessage,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IMessageInfo)
ValueTask<IMessageInfo^> TryParseAsync(
NoticeMessage^ message,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryParseAsync :
message : NoticeMessage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IMessageInfo>
- message NoticeMessage
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskIMessageInfo