共用方式為


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

要從中建立設定檔的媒體資料流程。

傳回

物件,用來控制非同步作業。

屬性

適用於