AtomPubClient.UpdateMediaResourceAsync(Uri, String, IInputStream) 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 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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for