AtomPubClient.UpdateMediaResourceAsync(Uri, String, IInputStream) 方法

定义

从指定的统一资源标识符 (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)

参数

uri
Uri Uri

统一资源标识符 (要更新的资源的 URI) 。

mediaType
String

Platform::String

winrt::hstring

资源的媒体类型。

mediaStream
IInputStream

正在更新媒体资源的媒体的 IInputStream

返回

完成状态或错误代码。

属性

适用于