InstancePlayLimitException Class

The exception that is thrown when there is an attempt to play more than 16 SoundEffectInstance sounds concurrently.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public sealed class InstancePlayLimitException : ExternalException

Only 16 SoundEffectInstance sounds can be playing at one time. If an attempt is made to play more than 16, this exception is thrown. Paused or stopped SoundEffectInstance objects do not count against this limit.

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

Community Additions