# Rejected Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.outboxmessageretirement.rejected/)

## Code {#code-d96a088b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.outboxmessageretirement.rejected/properties/code-d96a088b/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Messaging/IOutboxMessageSource.cs#L129)

```csharp
public string? Code
```

Gets the application-defined code which the receiver's inbox message sink reported with the rejection, as [DeadLettered](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.deliveryresult.deadlettered/); `null` when the receiver reported none.

## Reason {#reason-b70a0ae1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.outboxmessageretirement.rejected/properties/reason-b70a0ae1/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/Messaging/IOutboxMessageSource.cs#L123)

```csharp
public string Reason
```

Gets the reason which the receiver reported.
