Click or drag to resize

PortalUserDeletePortalItemAsync Method (PortalItem, CancellationToken)

Deletes a specified portal item asynchronously. Available to the item's owner and the administrator of the organization to which the owner belongs.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.6.0.0
Syntax
C#
public Task DeletePortalItemAsync(
	PortalItem portalItem,
	CancellationToken cancellationToken
)

Parameters

portalItem
Type: Esri.ArcGISRuntime.PortalPortalItem
The portal item to delete.
cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: Task
A task that represents the asynchronous delete operation.
See Also