# AzureServiceBusEmulatorResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.ServiceBus](/reference/api/csharp/aspire.hosting.azure.servicebus.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure.ServiceBus/AzureServiceBusEmulatorResource.cs)
- Inherits: `ContainerResource`
- Implements: `IResource`

Wraps an [AzureServiceBusResource](/reference/api/csharp/aspire.hosting.azure.servicebus/azureservicebusresource.md) in a type that exposes container extension methods.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureServiceBusEmulatorResource
    : Aspire.Hosting.ApplicationModel.ContainerResource,
      Aspire.Hosting.ApplicationModel.IResource
{
    // ...
}
```

## Constructors

- [AzureServiceBusEmulatorResource(AzureServiceBusResource)](/reference/api/csharp/aspire.hosting.azure.servicebus/azureservicebusemulatorresource/constructors.md#constructor-azureservicebusresource) -- Wraps an [AzureServiceBusResource](/reference/api/csharp/aspire.hosting.azure.servicebus/azureservicebusresource.md) in a type that exposes container extension methods.

## Properties

- [Annotations](/reference/api/csharp/aspire.hosting.azure.servicebus/azureservicebusemulatorresource/properties.md#annotations) : `ResourceAnnotationCollection` `get`
