Share via


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.

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

Syntax

public NoAudioHardwareException (
         string message,
         Exception inner
)

Parameters

  • message
    A message that describes the error.
  • inner
    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.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista