Click or drag to resize

PortalItemAddCommentAsync Method (String, CancellationToken)

Adds a comment to an item. Available only to authenticated users who have access to the item.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task<PortalItemComment> AddCommentAsync(
	string comment,
	CancellationToken cancellationToken


Type: SystemString
The comment to add.
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskPortalItemComment
The task object representing the asynchronous add comment operation. The value of the task result is a PortalItemComment object.
See Also