Initializes a new instance of an invalid area with a given error number and message.
Syntax
'Declaration
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
<System.Diagnostics.DebuggerStepThroughAttribute()>
Public Function New( _
ByVal As System.Integer, _
ByVal As System.String _
)
'Usage
Dim errorNumber As System.Integer
Dim message As System.String
Dim instance As New InvalidAreaException(errorNumber, message)
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public InvalidAreaException(
System.int ,
System.string
)
public InvalidAreaException(
: System.Integer;
: System.String
);
System.Diagnostics.DebuggerNonUserCodeAttribute()
System.Diagnostics.DebuggerStepThroughAttribute()
public function InvalidAreaException(
: System.int,
: System.String
);
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public: InvalidAreaException(
System.int ,
System.string*
)
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public:
InvalidAreaException(
System.int ,
System.String^
)
Parameters
- errorNumber
- An integer which represents the error number.
- message
- A string which represents the message.
See Also