Share via


MediaTranscoder.PrepareFileTranscodeAsync Method

Definition

Asynchronously initializes the trancode operation on the specified file and returns a PrepareTranscodeResult object which can be used to start the transcode operation.

public:
 virtual IAsyncOperation<PrepareTranscodeResult ^> ^ PrepareFileTranscodeAsync(IStorageFile ^ source, IStorageFile ^ destination, MediaEncodingProfile ^ profile) = PrepareFileTranscodeAsync;
IAsyncOperation<PrepareTranscodeResult> PrepareFileTranscodeAsync(IStorageFile const& source, IStorageFile const& destination, MediaEncodingProfile const& profile);
public IAsyncOperation<PrepareTranscodeResult> PrepareFileTranscodeAsync(IStorageFile source, IStorageFile destination, MediaEncodingProfile profile);
function prepareFileTranscodeAsync(source, destination, profile)
Public Function PrepareFileTranscodeAsync (source As IStorageFile, destination As IStorageFile, profile As MediaEncodingProfile) As IAsyncOperation(Of PrepareTranscodeResult)

Parameters

source
IStorageFile

The source file.

destination
IStorageFile

The destination file.

profile
MediaEncodingProfile

The profile to use for the operation.

Returns

When this method completes, a PrepareTranscodeResult object is returned which can be used to start the transcode.

Applies to

See also