| TopicModerateAsync(ModerationAction, String) Method |
This is preliminary documentation and is subject to change.
Moderates the topic with the specified action.
Namespace: WikiClientLibrary.FlowAssembly: WikiClientLibrary.Flow (in WikiClientLibrary.Flow.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task ModerateAsync(
ModerationAction action,
string reason
)
Public Function ModerateAsync (
action As ModerationAction,
reason As String
) As Task
Dim instance As Topic
Dim action As ModerationAction
Dim reason As String
Dim returnValue As Task
returnValue = instance.ModerateAsync(action,
reason)
public:
Task^ ModerateAsync(
ModerationAction action,
String^ reason
)
member ModerateAsync :
action : ModerationAction *
reason : string -> Task
Parameters
- action ModerationAction
- The action to perform. You need to have sufficient permission for it.
- reason String
- The reason for moderation.
Return Value
TaskRemarks See Also