# InteractionResult<T> Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [InteractionResult<T>](/reference/api/csharp/aspire.hosting/interactionresult-1.md)
- Kind: `Properties`
- Members: `2`

Represents the result of an interaction.

## Canceled

- Name: `Canceled`
- Modifiers: `get`
- Returns: `bool`

A flag indicating whether the interaction was canceled by the user.

```csharp
public bool Canceled { get; }
```

## Data

- Name: `Data`
- Modifiers: `nullable` `get`
- Returns: `T?`

The data returned from the interaction. Won't have a useful value if the interaction was canceled.

```csharp
public T? Data { get; }
```
