IMessageHandlerTryParseAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Server.Notices
Сборка:
Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.Extensions.Default.Server.NoticesNoticeMessage
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskIMessageInfoСм. также