AtomPubClient.UpdateResourceAsync(Uri, SyndicationItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.