Azure.Messaging.ServiceBus 7.0.0-preview.2 Prefix Reserved

This is a prerelease version of Azure.Messaging.ServiceBus.
There is a newer version of this package available.
See the version list below for details.
Install-Package Azure.Messaging.ServiceBus -Version 7.0.0-preview.2
dotnet add package Azure.Messaging.ServiceBus --version 7.0.0-preview.2
<PackageReference Include="Azure.Messaging.ServiceBus" Version="7.0.0-preview.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azure.Messaging.ServiceBus --version 7.0.0-preview.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Azure.Messaging.ServiceBus, 7.0.0-preview.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Azure.Messaging.ServiceBus as a Cake Addin
#addin nuget:?package=Azure.Messaging.ServiceBus&version=7.0.0-preview.2&prerelease

// Install Azure.Messaging.ServiceBus as a Cake Tool
#tool nuget:?package=Azure.Messaging.ServiceBus&version=7.0.0-preview.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Azure Service Bus is a fully managed enterprise integration message broker. Service Bus can decouple applications and services. Service Bus offers a reliable and secure platform for asynchronous transfer of data and state. This client library allows for both sending and receiving messages using Azure Service Bus. For more information about Service Bus, see

NuGet packages (85)

Showing the top 5 NuGet packages that depend on Azure.Messaging.ServiceBus:

Package Downloads

Microsoft Azure WebJobs SDK ServiceBus Extension


MassTransit Azure Service Bus Core transport support; MassTransit is a message-based distributed application framework for .NET


HealthChecks.AzureServiceBus is the health check package for Azure EventHub, and Azure Service Bus Queues and Topics.


Provides an Azure Service Bus transport for Rebus


Azure Service Bus transport for NServiceBus

GitHub repositories (17)

Showing the top 5 popular GitHub repositories that depend on Azure.Messaging.ServiceBus:

Repository Stars
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 6, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
Open Source Web Application Framework for ASP.NET Core
Distributed Application Framework for .NET
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Version Downloads Last updated
7.5.0 80,391 11/10/2021
7.5.0-beta.1 10,965 10/5/2021
7.4.0 263,870 10/5/2021
7.3.0 284,159 9/7/2021
7.3.0-beta.1 6,673 8/11/2021
7.2.1 844,660 7/8/2021
7.2.0 217,259 6/22/2021
7.2.0-beta.3 23,174 5/12/2021
7.2.0-beta.2 31,774 4/9/2021
7.2.0-beta.1 26,275 3/9/2021
7.1.2 1,480,279 4/13/2021
7.1.1 698,128 3/11/2021
7.1.0 437,349 2/9/2021
7.0.1 261,583 1/12/2021
7.0.0 402,635 11/24/2020
7.0.0-preview.9 2,757 11/5/2020
7.0.0-preview.8 5,251 10/6/2020
7.0.0-preview.7 4,955 9/11/2020
7.0.0-preview.6 1,222 8/18/2020
7.0.0-preview.4 5,330 7/7/2020
7.0.0-preview.3 1,811 6/8/2020
7.0.0-preview.2 3,568 5/4/2020
7.0.0-preview.1 689 4/7/2020

### Acknowledgements
Thank you to our developer community members who helped to make the Service Bus client library better with their contributions and design input for this release:
- Daniel Marbach _([GitHub](
- Sean Feldman _([GitHub](
### Added
- Allow specifying a list of named sessions when using ServiceBusSessionProcessor
- Transactions/Send via support
- Add SessionInitializingAsync/SessionClosingAsync events in ServiceBusSessionProcessor
- Do not attempt to autocomplete messages with the processor if the user settled the message in their callback
- Add SendAsync overload accepting an IEnumerable of ServiceBusMessage
- Various performance improvements
_(A community contribution, courtesy of [danielmarbach](
- Improve the way exception stack traces are captured
_(A community contribution, courtesy of [danielmarbach](
### Breaking Changes
- Change from using a static factory method for creating a sendable message from a received message to instead
using a constructor
_(A community contribution, courtesy of [danielmarbach](
- CreateSessionProcessor parameter sessionId renamed to sessionIds (also changed from string to params string array).
- Remove cancellation token from CreateProcessor and CreateSessionProcessor
_(A community contribution, courtesy of [danielmarbach](
- Rename SendBatchAsync to SendAsync
- Add SenderOptions parameter to CreateSender method.