Share via


AudioFileOutputNode.FinalizeAsync Method

Definition

Finalizes the asynchronous operation of the audio file output node.

public:
 virtual IAsyncOperation<TranscodeFailureReason> ^ FinalizeAsync() = FinalizeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<TranscodeFailureReason> FinalizeAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<TranscodeFailureReason> FinalizeAsync();
function finalizeAsync()
Public Function FinalizeAsync () As IAsyncOperation(Of TranscodeFailureReason)

Returns

When this operation completes, a TranscodeFailureReason value is returned.

Attributes

Remarks

You must call the AudioFileOutputNode.Stop method to stop the node before calling FinalizeAsync or an exception will be thrown.

Upon completion of FinalizeAsync, this node transitions itself into the closed state. Further calls into this node will result in a RO_E_CLOSED exception.

Applies to