DirectXException.LastError Property |
Language: |
Retrieves the error status for the last operation that failed.
Visual Basic Public Shared ReadOnly Property LastError As Integer C# public static int LastError { get; } C++ public:
static property int LastError {
int get();
}JScript public static function get LastError() : int
System.Int32
This property is read-only.
Integer that represents the last error code.
LastError should be called immediately if a method fails, otherwise a subsequent method call may overwrite the last error code.
Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.