ForumProviderSendMessageAsync - метод |
Пространство имён:
Tessa.Forums
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public Task<ForumResponse> SendMessageAsync(
Guid topicID,
MessageModel messageModel,
bool isSuperModerator,
CancellationToken cancellationToken = default
)
Public Function SendMessageAsync (
topicID As Guid,
messageModel As MessageModel,
isSuperModerator As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ForumResponse)
public:
virtual Task<ForumResponse^>^ SendMessageAsync(
Guid topicID,
MessageModel^ messageModel,
bool isSuperModerator,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendMessageAsync :
topicID : Guid *
messageModel : MessageModel *
isSuperModerator : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
override SendMessageAsync :
topicID : Guid *
messageModel : MessageModel *
isSuperModerator : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ForumResponse>
Параметры
- topicID
- Тип: SystemGuid
- messageModel
- Тип: Tessa.Forums.ModelsMessageModel
- isSuperModerator
- Тип: SystemBoolean
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskForumResponseРеализации
IForumProviderSendMessageAsync(Guid, MessageModel, Boolean, CancellationToken)См. также