Jaa


AtomPubClient.UpdateMediaResourceAsync(Uri, String, IInputStream) Method

Definition

Updates a media link resource from the specified Uniform Resource Identifier (URI).

public:
 virtual IAsyncActionWithProgress<TransferProgress> ^ UpdateMediaResourceAsync(Uri ^ uri, Platform::String ^ mediaType, IInputStream ^ mediaStream) = UpdateMediaResourceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncActionWithProgress<TransferProgress> UpdateMediaResourceAsync(Uri const& uri, winrt::hstring const& mediaType, IInputStream const& mediaStream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncActionWithProgress<TransferProgress> UpdateMediaResourceAsync(System.Uri uri, string mediaType, IInputStream mediaStream);
function updateMediaResourceAsync(uri, mediaType, mediaStream)
Public Function UpdateMediaResourceAsync (uri As Uri, mediaType As String, mediaStream As IInputStream) As IAsyncActionWithProgress(Of TransferProgress)

Parameters

uri
Uri Uri

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

mediaType
String

Platform::String

winrt::hstring

The media type of the resource.

mediaStream
IInputStream

The IInputStream of the media that is updating the media resource.

Returns

Completion status or error codes.

Attributes

Applies to