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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin