Delen via


PrepareTranscodeResult Class

Definition

Represents an asynchronous media transcode deferral operation which can be used to start the transcode operation.

public ref class PrepareTranscodeResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrepareTranscodeResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrepareTranscodeResult
Public NotInheritable Class PrepareTranscodeResult
Inheritance
Object Platform::Object IInspectable PrepareTranscodeResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is not instantiated directly. It is returned in a call to prepareFileTranscodeAsync, prepareStreamTranscodeAsync, and PrepareMediaStreamSourceTranscodeAsync.

For how-to guidance on transcoding media files, see Transcode media files.

Properties

CanTranscode

Indicates whether the trancode operation can be performed successfully.

FailureReason

Specifies the reason for the transcode failure.

Methods

TranscodeAsync()

Creates an object to perform an asynchronous media transcode operation on media data.

Applies to

See also