MediaTranscoder.PrepareFileTranscodeAsync Methode

Definition

Initialisiert asynchron den Trancodierungsvorgang für die angegebene Datei und gibt ein PrepareTranscodeResult-Objekt zurück, das zum Starten des Transcodierungsvorgangs verwendet werden kann.

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)

Parameter

source
IStorageFile

Die Quelldatei.

destination
IStorageFile

Die Zieldatei.

profile
MediaEncodingProfile

Das Profil, das für den Vorgang verwendet werden soll.

Gibt zurück

Nach Abschluss dieser Methode wird ein PrepareTranscodeResult-Objekt zurückgegeben, das zum Starten der Transcodierung verwendet werden kann.

Gilt für:

Weitere Informationen