We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37909bd + 740c30a commit cb5be1cCopy full SHA for cb5be1c
client-libraries/dotnet-api-guide.md
@@ -490,8 +490,8 @@ One way to implement a consumer is to use the convenience class
490
lifecycle events as C# events:
491
492
```csharp
493
-var consumer = new EventingBasicConsumer(channel);
494
-consumer.Received += async (ch, ea) =>
+var consumer = new AsyncEventingBasicConsumer(channel);
+consumer.ReceivedAsync += async (ch, ea) =>
495
{
496
var body = ea.Body.ToArray();
497
// copy or deserialise the payload
0 commit comments