public Task<(ForumResponse , ValidationResult )> RemoveRolesAsync(
Guid topicID,
IReadOnlyCollection<Guid> roles,
ForumServiceMessageMode serviceMessageMode = ForumServiceMessageMode.Enabled,
CancellationToken cancellationToken = default
)
Public Function RemoveRolesAsync (
topicID As Guid,
roles As IReadOnlyCollection(Of Guid),
Optional serviceMessageMode As ForumServiceMessageMode = ForumServiceMessageMode.Enabled,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As ForumResponse, As ValidationResult))
public:
virtual Task<ValueTuple<ForumResponse^, ValidationResult^>>^ RemoveRolesAsync(
Guid topicID,
IReadOnlyCollection<Guid>^ roles,
ForumServiceMessageMode serviceMessageMode = ForumServiceMessageMode::Enabled,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract RemoveRolesAsync :
topicID : Guid *
roles : IReadOnlyCollection<Guid> *
?serviceMessageMode : ForumServiceMessageMode *
?cancellationToken : CancellationToken
(* Defaults:
let _serviceMessageMode = defaultArg serviceMessageMode ForumServiceMessageMode.Enabled
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
override RemoveRolesAsync :
topicID : Guid *
roles : IReadOnlyCollection<Guid> *
?serviceMessageMode : ForumServiceMessageMode *
?cancellationToken : CancellationToken
(* Defaults:
let _serviceMessageMode = defaultArg serviceMessageMode ForumServiceMessageMode.Enabled
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
ForumResponse - ответ на запрос.
ValidationResult, содержащий информацию по возникшим ошибкам.