Click or drag to resize

PortalItemGetCommentsAsync Method (CancellationToken)

Gets the comments for the item that you have access to. Available only to authenticated users.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.7.0.0
Syntax
C#
public Task<IEnumerable<PortalItemComment>> GetCommentsAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskIEnumerablePortalItemComment
The task object representing the asynchronous get comments operation. The value of the task result contains a collection of PortalItemComment objects.
See Also