Udostępnij za pośrednictwem


AtomPubClient.DeleteResourceAsync(Uri) Method

Definition

Deletes an existing Entry or Media Link resource.

public:
 virtual IAsyncActionWithProgress<TransferProgress> ^ DeleteResourceAsync(Uri ^ uri) = DeleteResourceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncActionWithProgress<TransferProgress> DeleteResourceAsync(Uri const& uri);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncActionWithProgress<TransferProgress> DeleteResourceAsync(System.Uri uri);
function deleteResourceAsync(uri)
Public Function DeleteResourceAsync (uri As Uri) As IAsyncActionWithProgress(Of TransferProgress)

Parameters

uri
Uri Uri

The Uri of the resource to be deleted.

Returns

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

Attributes

Remarks

For an example of how this methods is implemented to delete syndicated content, see Quickstart: Managing Feed Entries.

Applies to

See also