MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) Method

Definition

Creates an encoding profile from a stream that contains media data.

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)

Parameters

stream
IRandomAccessStream

The media stream from which to create the profile.

Returns

An object that is used to control the asynchronous operation.

Attributes

Applies to