Partilhar via


SoundEffectInstance.Dispose Method (Boolean)

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

protected virtual void Dispose (
         bool disposing
)

Parameters

  • disposing
    Pass true to release both the managed and unmanaged resources for this SoundEffectInstance. Passing false releases only the unmanaged resources.

See Also

Reference

SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7