Method BlockCommunity
| Improve this Doc View SourceBlockCommunity(BlockCommunityForm, CancellationToken)
Blocks a community.
Declaration
public Task<BlockCommunityResponse> BlockCommunity(BlockCommunityForm form, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BlockCommunityForm | form | The form to send for blocking a community. |
| CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
| Type | Description |
|---|---|
| Task<BlockCommunityResponse> | The task object representing the asynchronous operation. The task result contains the response after blocking a community. |