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.7.0.0
Syntax
C#
public Task<PortalItemComment> AddCommentAsync(
	string comment,
	CancellationToken cancellationToken
)

Parameters

comment
Type: SystemString
The comment to add.
cancellationToken
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