AudioGraphBatchUpdater AudioGraphBatchUpdater AudioGraphBatchUpdater AudioGraphBatchUpdater Class

Definition

An object that, upon creation with CreateBatchUpdater, causes all subsequent modifications to all nodes in an AudioGraph to be accumulated and then committed once your app closes or disposes of the batch updater object.

public : sealed class AudioGraphBatchUpdater : IClosablepublic sealed class AudioGraphBatchUpdater : IDisposablePublic NotInheritable Class AudioGraphBatchUpdater Implements IDisposable// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

Get an instance of this class by calling AudioGraph.CreateBatchUpdater.

Methods

Close() Close() Close() Close()

Closes the CreateBatchUpdater, causing all audio graph node modifications accumulated since the object was created to be committed.

public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.

Remarks

The Close method is used by Universal Windows app using JavaScript. For apps written using the .NET Framework 4.5 in C# and VB.NET, the Close method is exposed as the Dispose() method on the AudioGraphBatchUpdater object. For apps written in C++, the Close method will be called when using the delete keyword on the object.

Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()