Documentation
Table of Contents

Constructor TargetContractException

Namespace
IntentSharp.Testing
Assembly
IntentSharp.dll

TargetContractException(string)

Creates the exception with a message; set Step and Target with an initializer.

public TargetContractException(string message)

Parameters

message string

What the kit expected and what the target did.

TargetContractException(string, Exception)

Creates the exception with a message and the exception the target or the runtime threw.

public TargetContractException(string message, Exception innerException)

Parameters

message string

What the kit expected and what the target did.

innerException Exception

The exception thrown during the step.