Click or drag to resize

RecentChangeItemPatrolAsync(CancellationToken) Method

This is preliminary documentation and is subject to change.

Asynchronously patrol the change.

Namespace: WikiClientLibrary.Generators
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntax
public Task PatrolAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken  CancellationToken
The cancellation token that will be checked prior to completing the returned task.

Return Value

Task
Exceptions
ExceptionCondition
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.

NotSupportedExceptionPatrolling is disabled on this wiki.
Remarks
It's suggested that the caller only patrol the pages whose PatrolStatus is Unpatrolled.
See Also