Share via


InvalidDeviceException.InvalidDeviceException(String) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the InvalidDeviceException class.

Definition

Visual Basic Public Sub New( _
    ByVal message As String _
)
C# public InvalidDeviceException(
    string message
);
C++ public:
 InvalidDeviceException(
    StringLeave Sitemessage
);
JScript public function InvalidDeviceException(
    message : String
);

Parameters

message System.String
String that contains the error message to display.