'Declaration
Public Function New( _ ByVal message As String, _ ByVal innerException As Exception, _ ByVal method As MethodBase, _ ByVal paramName As String _ )
'Usage
Dim message As String Dim innerException As Exception Dim method As MethodBase Dim paramName As String Dim instance As New ResultException(message, innerException, method, paramName)
public ResultException( string message, Exception innerException, MethodBase method, string paramName )
public: ResultException( String^ message, Exception^ innerException, MethodBase^ method, String^ paramName )
Parameters
- message
- The message that describes the error.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - innerException
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
The value of this parameter can be
null
(Nothing
in Visual Basic). - method
- The method that provided the invalid result.
The value of this parameter can be
null
(Nothing
in Visual Basic). - paramName
- The name of the parameter that causes this exception. Empty for the method return value.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).