Gets or sets the error id of the cause for the current exception.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ErrorId As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As RasterFault
Dim value As Integer
instance.ErrorId = value
value = instance.ErrorId
|
C# | |
---|
public int ErrorId {get; set;} |
C++/CLI | |
---|
public:
property int ErrorId {
int get();
void set (int value);
} |
Return Value
An
Int32 value that specifies what caused the exception.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also