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