Export (0) Print
Expand All

InstancePlayLimitException Class

The exception that is thrown when there is an attempt to play more than the platform specific maximum SoundEffectInstance sounds concurrently.

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

public sealed class InstancePlayLimitException : ExternalException

Each platform has limits on the number of sounds playing simultaneously. InstancePlayLimitException is thrown if this limit is exceeded. Paused or stopped SoundEffectInstance objects do not count against this limit. The following table shows the maximum number of simultaneous playing sounds based on platform:

PlatformNumber of sounds that can play simultaneously
Windows Phone 64
Xbox 360 300
Windows No Limit

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

Community Additions

© 2014 Microsoft