Skip to main content
AtomPubClient.DeleteResourceItemAsync | deleteResourceItemAsync method

Applies to Windows and Windows Phone

Deletes an existing Entry or Media Link resource. This differs from the DeleteResourceAsync method in that the SyndicationItem object that represents the resource to be deleted is specified instead of the Uri. The DeleteResourceItemAsync method uses the EditUri property of the specified SyndicationItem as the Uri of the resource to be deleted.

Syntax


atomPubClient.deleteResourceItemAsync(item).done( /* Your success and error handlers */ );

public IAsyncActionWithProgress<TransferProgress> DeleteResourceItemAsync(
  SyndicationItem item
)

Public Function DeleteResourceItemAsync(
  item As SyndicationItem 
) As IAsyncActionWithProgress(Of TransferProgress)

public:
IAsyncActionWithProgress<TransferProgress>^ DeleteResourceItemAsync(
  SyndicationItem^ item
)

Parameters

item

Type: SyndicationItem

The resource to be deleted.

Return value

Type: IAsyncActionWithProgress<TransferProgress>

The object that is used to delete the resource asynchronously and to report the progress and completion status of the operation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.AtomPub
Windows::Web::AtomPub [C++]

Metadata

Windows.winmd

See also

AtomPubClient