MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) 方法

定义

从包含媒体数据的流创建编码配置文件。

public:
 static IAsyncOperation<MediaEncodingProfile ^> ^ CreateFromStreamAsync(IRandomAccessStream ^ stream);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MediaEncodingProfile> CreateFromStreamAsync(IRandomAccessStream const& stream);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MediaEncodingProfile> CreateFromStreamAsync(IRandomAccessStream stream);
function createFromStreamAsync(stream)
Public Shared Function CreateFromStreamAsync (stream As IRandomAccessStream) As IAsyncOperation(Of MediaEncodingProfile)

参数

stream
IRandomAccessStream

要从中创建配置文件的媒体流。

返回

用于控制异步操作的对象。

属性

适用于