Click or drag to resize

TopicLockAsync(LockAction, String, CancellationToken) Method

This is preliminary documentation and is subject to change.

Locks or unlocks (aka. close or reopen) the topic with the specified action.

Namespace: WikiClientLibrary.Flow
Assembly: WikiClientLibrary.Flow (in WikiClientLibrary.Flow.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public Task LockAsync(
	LockAction action,
	string reason,
	CancellationToken cancellationToken
)

Parameters

action  LockAction
The action to perform.
reason  String
The reason for operation.
cancellationToken  CancellationToken
A token used to cancel the operation.

Return Value

Task
Remarks
This method will not update TopicTitleRevision content, you need to call RefreshAsync if you need the latest revision information.
See Also