AtomPubClient.UpdateResourceAsync(Uri, SyndicationItem) Method

Definition

Updates an existing Entry or Media Link resource. If an ETag: header has previously been seen while retrieving this resource (in a response to RetrieveResourceAsync, CreateResourceAsync or a previous call to UpdateResourceAsync), this method automatically sends an If-Match: header with the remembered value.

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

Parameters

uri
Uri Uri

The Uniform Resource Identifier (URI) of the resource to be updated.

item
SyndicationItem

The resource to be updated.

Returns

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

Attributes

Remarks

For an example of how this method is implemented to update syndicated content see Quickstart: Managing Feed Entries.

Applies to

See also