NoAudioHardwareException Constructor (String, Exception)

Initializes a new instance of this 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 NoAudioHardwareException (
         string message,
         Exception inner
)
public:
NoAudioHardwareException(
         String message,
         Exception inner
)

Parameters

  • message
    Type: String
    A message that describes the error.
  • inner
    Type: Exception
    The exception that is the cause of the current exception. If the inner parameter is not a null reference, 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

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

Platforms

Windows Phone