Open sandboxFocus

Method Create

Create(CachingBackend, AzureServiceBusCacheInvalidatorOptions)

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

Declaration
public static AzureServiceBusCacheInvalidator Create(CachingBackend backend, AzureServiceBusCacheInvalidatorOptions options)
Parameters
Type Name Description
CachingBackend backend

The local (in-memory, typically) cache being invalidated by the new AzureServiceBusCacheInvalidator.

AzureServiceBusCacheInvalidatorOptions options

Options.

Returns
Type Description
AzureServiceBusCacheInvalidator

A new AzureServiceBusCacheInvalidator.