Open sandboxFocus

Class AzureServiceBusCacheInvalidator

An implementation of CacheInvalidator based on Microsoft Azure Service Bus, using the Azure.Messaging.ServiceBus API meant for .NET Standard.

Inheritance
AzureServiceBusCacheInvalidator
Implements
Namespace: PostSharp.Patterns.Caching.Backends.Azure
Assembly: PostSharp.Patterns.Caching.Backends.Azure.dll
Syntax
public class AzureServiceBusCacheInvalidator : CacheInvalidator, IDisposable

Methods

Name Description
Create(CachingBackend, AzureServiceBusCacheInvalidatorOptions)

Creates a new AzureServiceBusCacheInvalidator and blocks until a subscription is established.

CreateAsync(CachingBackend, AzureServiceBusCacheInvalidatorOptions)

Asynchronously creates a new AzureServiceBusCacheInvalidator.

DisposeAsyncCore(CancellationToken)

Asynchronously disposes the current CachingBackend. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.

DisposeCore(bool)

Synchronously disposes the current CachingBackend. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.

~AzureServiceBusCacheInvalidator()

Destructor.

SendMessageAsync(string, CancellationToken)

Sends an invalidation message over the message bus of the implementation.