Share via


SoundException.SoundException(String) Constructor (Microsoft.DirectX.DirectSound)

Initializes a new instance of the SoundException class.

Definition

Visual Basic Public Sub New( _
    ByVal message As String _
)
C# public SoundException(
    string message
);
C++ public:
 SoundException(
    StringLeave Sitemessage
);
JScript public function SoundException(
    message : String
);

Parameters

message System.String
String that contains the error message to display.