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