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