Class InvalidMethodSignatureException
Exception that is thrown when the signature of a MethodInfo is invalid in the required context.
Implements
Inherited Members
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class InvalidMethodSignatureException : OffendingException<MethodInfo>, ISerializable
Constructors
| Edit this page View SourceInvalidMethodSignatureException()
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException()
InvalidMethodSignatureException(Exception)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(Exception inner)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
InvalidMethodSignatureException(Exception, MethodInfo)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(Exception inner, MethodInfo offendingMethod)
Parameters
Type | Name | Description |
---|---|---|
Exception | inner | Exception that is the cause of this exception. |
MethodInfo | offendingMethod | Reference tot he method that caused this exception. |
InvalidMethodSignatureException(MethodInfo)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(MethodInfo offendingMethod)
Parameters
Type | Name | Description |
---|---|---|
MethodInfo | offendingMethod | Reference tot he method that caused this exception. |
InvalidMethodSignatureException(string)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
InvalidMethodSignatureException(string, Exception)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
InvalidMethodSignatureException(string, Exception, MethodInfo)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(string message, Exception inner, MethodInfo offendingMethod)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
Exception | inner | Exception that is the cause of this exception. |
MethodInfo | offendingMethod | Reference tot he method that caused this exception. |
InvalidMethodSignatureException(string, MethodInfo)
Initializes a new instance of the InvalidMethodSignatureException class.
Declaration
public InvalidMethodSignatureException(string message, MethodInfo offendingMethod)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message that describes the exception. |
MethodInfo | offendingMethod | Reference tot he method that caused this exception. |