Method LockPost
| Improve this Doc View SourceLockPost(LockPostForm, CancellationToken)
Locks a post.
Declaration
public Task<PostResponse> LockPost(LockPostForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| LockPostForm | form | The form to send for locking a post. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<PostResponse> | The task object representing the asynchronous operation. The task result contains the response after locking the post. |