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 ExceptionLeave Site _
)
C# public DirectXException(
    string message,
    ExceptionLeave Site inner
);
C++ public:
 DirectXException(
    StringLeave Sitemessage,
    ExceptionLeave Siteinner
);
JScript public function DirectXException(
    message : String,
    inner : ExceptionLeave Site
);

Parameters

message System.String
String that contains the error text for the exception.
inner System.Exception
An ExceptionLeave Site object that contains the inner exception.