Share via


InstancePlayLimitException Constructor (String, Exception)

Initializes a new instance of the InstancePlayLimitException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Syntax

'Declaration
Public Sub New ( _
         message As String, _
         inner As Exception _
)
public InstancePlayLimitException (
         string message,
         Exception inner
)
public:
InstancePlayLimitException(
         String message,
         Exception inner
)

Parameters

  • message
    Type: String
    Error message that explains the reason for the exception.
  • inner
    Type: Exception
    Exception that is the cause of the current exception. If innerException is not null, the current exception is raised in a catch block that handles the inner exception.

Requirements

Namespace: Microsoft.Xna.Framework.Audio

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

See Also

Reference

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

Platforms

Windows Phone