Click or drag to resize

PortalItemUpdateDataAsync Method (Stream, CancellationToken)

Updates the file data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
public Task UpdateDataAsync(
	Stream file,
	CancellationToken cancellationToken


Type: System.IOStream
Stream of the file content data of this portal item.
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

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