> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# AzureStorageQueueOptions

> Specifies the options required to leverage Azure Queue Storage as the SimpleMessageBus backing queue.

## Definition

**Assembly:** CloudNimble.SimpleMessageBus.Core.dll

**Namespace:** CloudNimble.SimpleMessageBus.Core

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.SimpleMessageBus.Core.AzureStorageQueueOptions
```

## Summary

Specifies the options required to leverage Azure Queue Storage as the SimpleMessageBus backing queue.

## Constructors

### &#x20;.ctor

The default constructor, which sets the default values equal to the values specified in [AzureStorageQueueConstants](https://easyaf.nimbleapps.cloud/simplemessagebus/api-reference/CloudNimble/SimpleMessageBus/Core/AzureStorageQueueConstants.md).

#### Syntax

```csharp theme={"dark"}
public AzureStorageQueueOptions()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;CompletedQueueName

A [String](https://learn.microsoft.com/dotnet/api/system.string) representing the name of the Queue that successfully-executed messages will be stored in.

#### Syntax

```csharp theme={"dark"}
public string CompletedQueueName { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

Messages will stay in that Queue for the lifetime specified by the Queue, and is useful for
diagnosing or re-running requests.

### &#x20;ConcurrentJobs

An [Int32](https://learn.microsoft.com/dotnet/api/system.int32) representing the number of Messages that can be processed simultaneously. The default is 16.

#### Syntax

```csharp theme={"dark"}
public int ConcurrentJobs { get; set; }
```

#### Property Value

Type: `int`

### &#x20;MessageEncoding

Sets the MessageEncoding for Queue messages. Defaults to AzureStorageQueueEncoding.None.

#### Syntax

```csharp theme={"dark"}
public CloudNimble.SimpleMessageBus.Core.AzureStorageQueueEncoding MessageEncoding { get; set; }
```

#### Property Value

Type: `CloudNimble.SimpleMessageBus.Core.AzureStorageQueueEncoding`

#### Remarks

SimpleMessageBus defaulted to None in previous versions. This setting helps align the Azure Queues SDK QueueClient,
which by default sets MessageEncoding = QueueMessageEncoding.None, and WebJobs SDK QueueTrigger, which by default
sets MessageEncoding = QueueMessageEncoding.Base64. (I know, isn't that awesome?!?).

### &#x20;QueueName

A [String](https://learn.microsoft.com/dotnet/api/system.string) representing the name of the Queue in Azure Queue Storage.

#### Syntax

```csharp theme={"dark"}
public string QueueName { get; set; }
```

#### Property Value

Type: `string`

#### Remarks

See [https://coderwall.com/p/g2xeua](https://coderwall.com/p/g2xeua) for more information about queue name requirements.

### &#x20;StorageConnectionString

A [String](https://learn.microsoft.com/dotnet/api/system.string) representing the ConnectionString for your Azure Storage account.

#### Syntax

```csharp theme={"dark"}
public string StorageConnectionString { get; set; }
```

#### Property Value

Type: `string`

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.