Options that determine the mode of operation of an AzureServiceBusCacheInvalidator instance.
Namespace: PostSharp.Patterns.Caching.Backends.Azure
Assembly: PostSharp.Patterns.Caching.Backends.Azure.dll
Syntax
public class AzureServiceBusCacheInvalidatorOptions : CacheInvalidatorOptionsRemarks
When SubscriptionName is null, the invalidator creates its own topic subscription, which requires the Manage right.
When it is set, the subscription must already exist and must not be shared with another instance of the invalidator.
Constructors
| Name | Description |
|---|---|
| AzureServiceBusCacheInvalidatorOptions(string, string) | Initializes a new instance of the AzureServiceBusCacheInvalidatorOptions class. |
Properties
| Name | Description |
|---|---|
| AdministrationClientOptions | Gets or sets the ServiceBusAdministrationClientOptions. |
| AutoDeleteOnIdle | Gets or sets the time after which the subscription is automatically deleted. |
| ClientOptions | Gets or sets the ServiceBusClientOptions. |
| ConnectionString | Gets the connection string. |
| MaxDeliveryCount | Gets or sets the maximum delivery count of a message after which it is dead-lettered. |
| RetryOnReceiveError | Gets or sets the time span after which the receive is retried after an error occurs. |
| SubscriptionName | Gets or sets the topic subscription name. Do not confuse it with the Azure subscription ID. If this property is not supplied, a new auto-deleted subscription is created every time the component is instantiated. |
| TopicName | Gets or sets the topic name. |