StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer) |
Redis veritabanındaki varsayılan anahtara ('DataProtection-Keys') anahtarları kalıcı hale getirmek için veri koruma sistemini yapılandırıyor |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey) |
Redis veritabanında anahtarları belirtilen anahtara kalıcı hale getirmek için veri koruma sistemini yapılandırıyor |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey) |
Redis veritabanında anahtarları belirtilen anahtara kalıcı hale getirmek için veri koruma sistemini yapılandırıyor |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)
Redis veritabanındaki varsayılan anahtara ('DataProtection-Keys') anahtarları kalıcı hale getirmek için veri koruma sistemini yapılandırıyor
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer) As IDataProtectionBuilder
Parametreler
- builder
- IDataProtectionBuilder
Değiştireceğiniz oluşturucu örneği.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer veritabanı erişimi için.
Döndürülenler
Bu işlem tamamlandıktan sonra öğesine IDataProtectionBuilder başvuru.
Şunlara uygulanır
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)
Redis veritabanında anahtarları belirtilen anahtara kalıcı hale getirmek için veri koruma sistemini yapılandırıyor
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, StackExchange::Redis::IConnectionMultiplexer ^ connectionMultiplexer, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, StackExchange.Redis.IConnectionMultiplexer connectionMultiplexer, StackExchange.Redis.RedisKey key);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * StackExchange.Redis.IConnectionMultiplexer * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, connectionMultiplexer As IConnectionMultiplexer, key As RedisKey) As IDataProtectionBuilder
Parametreler
- builder
- IDataProtectionBuilder
Değiştireceğiniz oluşturucu örneği.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer veritabanı erişimi için.
- key
- StackExchange.Redis.RedisKey
StackExchange.Redis.RedisKey Anahtar listesini depolamak için kullanılan.
Döndürülenler
Bu işlem tamamlandıktan sonra öğesine IDataProtectionBuilder başvuru.
Şunlara uygulanır
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)
Redis veritabanında anahtarları belirtilen anahtara kalıcı hale getirmek için veri koruma sistemini yapılandırıyor
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToStackExchangeRedis(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Func<StackExchange::Redis::IDatabase ^> ^ databaseFactory, StackExchange::Redis::RedisKey key);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToStackExchangeRedis (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<StackExchange.Redis.IDatabase> databaseFactory, StackExchange.Redis.RedisKey key);
static member PersistKeysToStackExchangeRedis : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<StackExchange.Redis.IDatabase> * StackExchange.Redis.RedisKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToStackExchangeRedis (builder As IDataProtectionBuilder, databaseFactory As Func(Of IDatabase), key As RedisKey) As IDataProtectionBuilder
Parametreler
- builder
- IDataProtectionBuilder
Değiştireceğiniz oluşturucu örneği.
- databaseFactory
- Func<StackExchange.Redis.IDatabase>
Örnekleri oluşturmak StackExchange.Redis.IDatabase için kullanılan temsilci.
- key
- StackExchange.Redis.RedisKey
StackExchange.Redis.RedisKey Anahtar listesini depolamak için kullanılan.
Döndürülenler
Bu işlem tamamlandıktan sonra öğesine IDataProtectionBuilder başvuru.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin