# IInboxMessageSink.TryAccept(InboxMessage, DeliveryResult)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.iinboxmessagesink/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.iinboxmessagesink/methods/)

```csharp
public abstract bool TryAccept(InboxMessage message, out DeliveryResult result)
```

Takes a message into the sink's journaled state, or declines it.

### Parameters

- `message` (`InboxMessage`): The validated, deduplicated message.
- `result` (`DeliveryResult`): When this method returns `true`, the delivery result which the inbox reports to the sender.

### Returns

`true` when the sink takes the message and reports `result`; `false` when it declines the message without staging anything.
