PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​AzureAzure­Service­Bus­Cache­Invalidator
Open sandboxFocus

AzureServiceBusCacheInvalidator Class

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

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

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)
DisposeCore(Boolean)

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.

Finalize()

Destructor.

SendMessageAsync(String, CancellationToken)