PrepareTranscodeResult PrepareTranscodeResult PrepareTranscodeResult PrepareTranscodeResult Class


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// You can use this class in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.


CanTranscode CanTranscode CanTranscode CanTranscode

Indicates whether the trancode operation can be performed successfully.

public : PlatForm::Boolean CanTranscode { get; }public bool CanTranscode { get; }Public ReadOnly Property CanTranscode As bool// You can use this property in JavaScript.
PlatForm::Boolean bool bool bool

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

FailureReason FailureReason FailureReason FailureReason

Specifies the reason for the transcode failure.

public : TranscodeFailureReason FailureReason { get; }public TranscodeFailureReason FailureReason { get; }Public ReadOnly Property FailureReason As TranscodeFailureReason// You can use this property in JavaScript.


TranscodeAsync() 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 )// You can use this method in JavaScript.
See Also

See Also