Prepare​Transcode​Result Prepare​Transcode​Result Prepare​Transcode​Result Class

Definition

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

public sealed class PrepareTranscodeResult : IPrepareTranscodeResultpublic sealed class PrepareTranscodeResult : IPrepareTranscodeResultPublic NotInheritable Class PrepareTranscodeResult Implements IPrepareTranscodeResult
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 CanTranscode CanTranscode

Indicates whether the trancode operation can be performed successfully.

public bool CanTranscode { get; }public bool CanTranscode { get; }Public ReadOnly Property CanTranscode As bool
Value
bool bool bool

True if the trancode operation can be performed successfully; false otherwise.

Attributes

FailureReason FailureReason FailureReason

Specifies the reason for the transcode failure.

public TranscodeFailureReason FailureReason { get; }public TranscodeFailureReason FailureReason { get; }Public ReadOnly Property FailureReason As TranscodeFailureReason
Value
TranscodeFailureReason TranscodeFailureReason TranscodeFailureReason

The reason for the transcode failure.

Attributes

Methods

TranscodeAsync() TranscodeAsync() TranscodeAsync()

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

public IAsyncActionWithProgress<double> TranscodeAsync()public IAsyncActionWithProgress<double> TranscodeAsync()Public Function TranscodeAsync() As IAsyncActionWithProgress( Of double )
Returns

An object that is used to control the asynchronous operation.

Attributes
See Also

See Also