Method CreateCommunity
| Improve this Doc View SourceCreateCommunity(CreateCommunityForm, CancellationToken)
Creates a new community.
Declaration
public Task<CommunityResponse> CreateCommunity(CreateCommunityForm form, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CreateCommunityForm | form | The form to send for creating a community. |
CancellationToken | cancellationToken | Optional cancellation token to pass through to HttpClient |
Returns
Type | Description |
---|---|
Task<CommunityResponse> | The task object representing the asynchronous operation. The task result contains the response after creating a community. |