共用方式為


AtomPubClient.DeleteResourceAsync(Uri) 方法

定義

刪除現有的專案或媒體鏈接資源。

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)

參數

uri
Uri Uri

要刪除之資源的 URI。

傳回

物件,用來以異步方式刪除資源,以及報告作業的進度和完成狀態。

屬性

備註

如需如何實作此方法以刪除新聞訂閱內容的範例,請參閱 快速入門:管理摘要專案

適用於

另請參閱