Open sandboxFocus

Method CreateAsync

CreateAsync(CachingBackend, AzureServiceBusCacheInvalidatorOptions)

Asynchronously creates a new AzureServiceBusCacheInvalidator.

Declaration
public static Task<AzureServiceBusCacheInvalidator> CreateAsync(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
Task<AzureServiceBusCacheInvalidator>

A new AzureServiceBusCacheInvalidator.