AudioFileOutputNode.FinalizeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.