InvalidDataException.InvalidDataException(String,Exception) Constructor (Microsoft.DirectX.Direct3D)
Initializes a new instance of the InvalidDataException class.
Definition
Visual Basic Public Sub New( _
ByVal message As String, _
ByVal inner As Exception _
)C# public InvalidDataException(
string message,
Exception inner
);C++ public:
InvalidDataException(
String^ message,
Exception^ inner
);JScript public function InvalidDataException(
message : String,
inner : Exception
);
Parameters
message System.String
String that contains the error message to display.inner System.Exception
An Exception object that represents errors that occur during application execution.