MediaEncodingProfile.CreateFromStreamAsync(IRandomAccessStream) 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.
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