SoundEffectInstance.Dispose Method (Boolean)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Releases the unmanaged resources held by this SoundEffectInstance, and optionally releases the managed resources.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)
Syntax
'Declaration
Protected Overridable Sub Dispose ( _
disposing As Boolean _
)
protected virtual void Dispose(
bool disposing
)
Parameters
- disposing
Type: System.Boolean
Specify true to release both the managed and unmanaged resources for this SoundEffectInstance. Specify false to release only the unmanaged resources.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also