ISyndicationClient.RetrieveFeedAsync(Uri) 方法

定義

起始非同步作業,以從指定的 URI 下載新聞訂閱摘要。 這個方法會從摘要字串具現化 SyndicationFeed 物件,其格式可以是 SyndicationFormat中指定的其中一種格式。

public:
 IAsyncOperationWithProgress<SyndicationFeed ^, RetrievalProgress> ^ RetrieveFeedAsync(Uri ^ uri);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<SyndicationFeed, RetrievalProgress> RetrieveFeedAsync(Uri const& uri);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<SyndicationFeed,RetrievalProgress> RetrieveFeedAsync(System.Uri uri);
function retrieveFeedAsync(uri)
Public Function RetrieveFeedAsync (uri As Uri) As IAsyncOperationWithProgress(Of SyndicationFeed, RetrievalProgress)

參數

uri
Uri Uri

從中下載摘要的 URI。

傳回

包含作業的結果。

屬性

備註

您可以多次呼叫這個方法,以同時取得數個摘要。

適用於