Initializes a new instance of an invalid regular expression with a given message and inner exception.
Syntax
'Declaration
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
<System.Diagnostics.DebuggerStepThroughAttribute()>
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 InvalidRegularExpressionException(message, innerException)
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public InvalidRegularExpressionException(
System.string ,
System.Exception
)
public InvalidRegularExpressionException(
: System.String;
: System.Exception
);
System.Diagnostics.DebuggerNonUserCodeAttribute()
System.Diagnostics.DebuggerStepThroughAttribute()
public function InvalidRegularExpressionException(
: System.String,
: System.Exception
);
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public: InvalidRegularExpressionException(
System.string* ,
System.Exception*
)
[System.Diagnostics.DebuggerNonUserCode()]
[System.Diagnostics.DebuggerStepThrough()]
public:
InvalidRegularExpressionException(
System.String^ ,
System.Exception^
)
Parameters
- message
- A string which represents the message.
- innerException
- An inner exception from the base constructor.
See Also