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