InstancePlayLimitException Class (Microsoft.Xna.Framework.Audio)

The exception thrown when the system attempts to play more SoundEffectInstances than allotted.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public sealed class InstancePlayLimitException : ExternalException

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The InstancePlayLimitException type exposes the following members.

  Platforms Name Description
Most platforms have a hard limit on how many sounds can be played simultaneously. This exception is thrown when that limit is exceeded.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop