> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

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

#### Syntax

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

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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`

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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?!?).

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> 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

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Parameters

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

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

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

#### Returns

Type: `string?`
