DirectXException.DirectXException(String,Exception) Constructor (Microsoft.DirectX)
Initializes a new instance of the DirectXException class.
Definition
Visual Basic Public Sub New( _
ByVal message As String, _
ByVal inner As Exception _
)C# public DirectXException(
string message,
Exception inner
);C++ public:
DirectXException(
String^ message,
Exception^ inner
);JScript public function DirectXException(
message : String,
inner : Exception
);
Parameters
message System.String
String that contains the error text for the exception.inner System.Exception
An Exception object that contains the inner exception.