StacClient.DeleteItem Method

Definition

Overloads

Name Description
DeleteItem(WaitUntil, String, String, RequestContext)

Delete a STAC item from a collection.

DeleteItem(WaitUntil, String, String, CancellationToken)

Delete a STAC item from a collection.

DeleteItem(WaitUntil, String, String, RequestContext)

Source:
StacClient.cs

Delete a STAC item from a collection.

public virtual Azure.Operation DeleteItem(Azure.WaitUntil waitUntil, string collectionId, string itemId, Azure.RequestContext context);
abstract member DeleteItem : Azure.WaitUntil * string * string * Azure.RequestContext -> Azure.Operation
override this.DeleteItem : Azure.WaitUntil * string * string * Azure.RequestContext -> Azure.Operation
Public Overridable Function DeleteItem (waitUntil As WaitUntil, collectionId As String, itemId As String, context As RequestContext) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

collectionId
String

Catalog collection id.

itemId
String

STAC Item id.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

collectionId or itemId is null.

collectionId or itemId is an empty string, and was expected to be non-empty.

Applies to

DeleteItem(WaitUntil, String, String, CancellationToken)

Source:
StacClient.cs

Delete a STAC item from a collection.

public virtual Azure.Operation DeleteItem(Azure.WaitUntil waitUntil, string collectionId, string itemId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteItem : Azure.WaitUntil * string * string * System.Threading.CancellationToken -> Azure.Operation
override this.DeleteItem : Azure.WaitUntil * string * string * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function DeleteItem (waitUntil As WaitUntil, collectionId As String, itemId As String, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

collectionId
String

Catalog collection id.

itemId
String

STAC Item id.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

collectionId or itemId is null.

collectionId or itemId is an empty string, and was expected to be non-empty.

Applies to