DirectXException.DirectXException Constructor

Language:

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(
    Stringmessage,
    Exceptioninner
);
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 Leave Site object that contains the inner exception.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center