# MessagingEvents

Package: [Microsoft.Orleans.Durable](/orleans/docs/api/csharp/microsoft.orleans.durable/) 10.0.0-alpha.1

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

```csharp
public static class MessagingEvents
```

Provides the diagnostic listener and event payload types for durable messaging events.

## Remarks

These types are public but may change between minor versions. They are intended for advanced scenarios such as simulation testing and diagnostics.

Each event is written synchronously on the activation which raises it, at the transition which it describes, so an observer sees the grain's state at that transition. An exception thrown by an observer propagates to the code which raised the event; [InboxMessageReceiving](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.diagnostics.messagingevents.inboxmessagereceiving/) documents how a delivery treats one.

## Properties

- [AllEvents](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.diagnostics.messagingevents/properties/allevents-fc0bbdcf/)

## Fields

- [ListenerName](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.messaging.diagnostics.messagingevents/fields/listenername-7bc4a176/)
