InstancePlayLimitException Class (Microsoft.Xna.Framework.Audio)
The exception thrown when the system attempts to play more SoundEffectInstances than allotted.
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
Microsoft.Xna.Framework.Audio.InstancePlayLimitException
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
Microsoft.Xna.Framework.Audio.InstancePlayLimitException
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
[DataContractAttribute] 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 | |
---|---|---|---|
InstancePlayLimitException |
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
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web