Share via


DirectXException.ErrorCode Property (Microsoft.DirectX)

Retrieves or sets the integer value result code.

Definition

Visual Basic Public Property ErrorCode As Integer
C# public int ErrorCode { get; set; }
C++ public:
property int ErrorCode {
        int get();
        void set(int value);
}
JScript public function get ErrorCode() : int
public function set ErrorCode(int);

Property Value

System.Int32
Integer that represents the result code.

This property is read/write. 

Applies To

Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException