> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CSharp: AssertionReturn

> CDKTN Core API Reference for AssertionReturn in CSharp.

Class representing the contents of a return by an assertion.

## Initializers <a name="Initializers" id="cdktn.testingMatchers.AssertionReturn.Initializer" />

```csharp theme={null}
using Io.Cdktn;

new AssertionReturn(string Message, bool Pass);
```

| **Name**                                                                                                | **Type**            | **Description**                                                            |
| ------------------------------------------------------------------------------------------------------- | ------------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message">Message</a></code> | <code>string</code> | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass">Pass</a></code>       | <code>bool</code>   | - Boolean pass denoting the success of the assertion.                      |

***

### `Message`<sup>Required</sup> <a name="Message" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.message" />

* *Type:* string

String message containing information about the result of the assertion.

***

### `Pass`<sup>Required</sup> <a name="Pass" id="cdktn.testingMatchers.AssertionReturn.Initializer.parameter.pass" />

* *Type:* bool

Boolean pass denoting the success of the assertion.

***

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                                   | **Type**            | **Description**                                                            |
| ------------------------------------------------------------------------------------------ | ------------------- | -------------------------------------------------------------------------- |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.message">Message</a></code> | <code>string</code> | - String message containing information about the result of the assertion. |
| <code><a href="#cdktn.testingMatchers.AssertionReturn.property.pass">Pass</a></code>       | <code>bool</code>   | - Boolean pass denoting the success of the assertion.                      |

***

### `Message`<sup>Required</sup> <a name="Message" id="cdktn.testingMatchers.AssertionReturn.property.message" />

```csharp theme={null}
public string Message { get; }
```

* *Type:* string

String message containing information about the result of the assertion.

***

### `Pass`<sup>Required</sup> <a name="Pass" id="cdktn.testingMatchers.AssertionReturn.property.pass" />

```csharp theme={null}
public bool Pass { get; }
```

* *Type:* bool

Boolean pass denoting the success of the assertion.

***
