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