| RecentChangeItemPatrolAsync(CancellationToken) Method |
This is preliminary documentation and is subject to change.
Asynchronously patrol the change.
Namespace: WikiClientLibrary.GeneratorsAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax public Task PatrolAsync(
CancellationToken cancellationToken
)
Public Function PatrolAsync (
cancellationToken As CancellationToken
) As Task
Dim instance As RecentChangeItem
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.PatrolAsync(cancellationToken)
public:
Task^ PatrolAsync(
CancellationToken cancellationToken
)
member PatrolAsync :
cancellationToken : CancellationToken -> Task
Parameters
- cancellationToken CancellationToken
- The cancellation token that will be checked prior to completing the returned task.
Return Value
TaskExceptions Exception | Condition |
---|
UnauthorizedOperationException | You don't have permission to patrol changes. Only users with the patrol right can do this. OR You don't have permission to patrol your own changes. Only users with the autopatrol right can do this. |
NotSupportedException | Patrolling is disabled on this wiki. |
Remarks See Also