'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.
- 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.
- method
- The method that provided the invalid result.
- paramName
- The name of the parameter that causes this exception. Empty for the method return value.