Share via


BadFormatException.BadFormatException(String,Exception) Constructor (Microsoft.DirectX.DirectSound)

Initializes a new instance of the BadFormatException class.

Definition

Visual Basic Public Sub New( _
    ByVal message As String, _
    ByVal inner As ExceptionLeave Site _
)
C# public BadFormatException(
    string message,
    ExceptionLeave Site inner
);
C++ public:
 BadFormatException(
    StringLeave Sitemessage,
    ExceptionLeave Siteinner
);
JScript public function BadFormatException(
    message : String,
    inner : ExceptionLeave Site
);

Parameters

message System.String
String that contains the error message to display.
inner System.Exception
An ExceptionLeave Site object that represents errors that occur during application execution.