| 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.FlowAssembly: WikiClientLibrary.Flow (in WikiClientLibrary.Flow.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task LockAsync(
LockAction action,
string reason,
CancellationToken cancellationToken
)
Public Function LockAsync (
action As LockAction,
reason As String,
cancellationToken As CancellationToken
) As Task
Dim instance As Topic
Dim action As LockAction
Dim reason As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.LockAsync(action,
reason, cancellationToken)
public:
Task^ LockAsync(
LockAction action,
String^ reason,
CancellationToken cancellationToken
)
member LockAsync :
action : LockAction *
reason : string *
cancellationToken : CancellationToken -> Task
Parameters
- action LockAction
- The action to perform.
- reason String
- The reason for operation.
- cancellationToken CancellationToken
- A token used to cancel the operation.
Return Value
TaskRemarks See Also