DynamicSoundEffectInstance.Dispose Method (Microsoft.Xna.Framework.Audio)

Releases the resources held by this SoundEffectInstance.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
protected void Dispose(
	bool disposing

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Boolean
If set to true, Dispose was called explicitly.
If the disposing parameter is true, the Dispose method was called explicitly. This means that managed objects referenced by this instance should be disposed or released as required. If the disposing parameter is false, Dispose was called by the finalizer and no managed objects should be touched because we do not know if they are still valid or not at that time. Unmanaged resources should always be released.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop