PostSharp / / API Reference / Post­Sharp.​Patterns.​Contracts / Contract­Exception­Info / Contract­Exception­Info

Constructor ContractExceptionInfo

ContractExceptionInfo(Type, LocationContractAttribute, Object, String, LocationKind, LocationValidationContext, String, Object[])

Declaration
public ContractExceptionInfo(Type exceptionType, LocationContractAttribute aspect, object value, string locationName, LocationKind locationKind, LocationValidationContext context, string messageId, object[] messageArguments)
Parameters
Type Name Description
Type exceptionType
LocationContractAttribute aspect
Object value
String locationName
LocationKind locationKind
LocationValidationContext context
String messageId
Object[] messageArguments