The ParameterCheckerEventArgs type exposes the following members.

Properties

  NameDescription
ArgumentPosition
Position of the argument in the called method
ArgumentValue
Value of the argument passed to method
CallingMethodName
Name of method that was called
CallingType
Type in which the method was called from
ExpectedValue
Expected value - set only when CustomChecker(ParameterCheckerEx, Object) is used
FailureMessage
The Message to display if check fails
MessagePrefix
Default message prefix that can be added to the FailureMessage

See Also