StackExchangeRedisDataProtectionBuilderExtensions.PersistKeysToStackExchangeRedis Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer) |
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci default ('DataProtection-Keys') di database Redis |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey) |
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci yang ditentukan dalam database Redis |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey) |
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci yang ditentukan dalam database Redis |
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci default ('DataProtection-Keys') di database Redis
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
Parameter
- builder
- IDataProtectionBuilder
Instans penyusun untuk dimodifikasi.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer untuk akses database.
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Berlaku untuk
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci yang ditentukan dalam database Redis
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
Parameter
- builder
- IDataProtectionBuilder
Instans penyusun untuk dimodifikasi.
- connectionMultiplexer
- StackExchange.Redis.IConnectionMultiplexer
StackExchange.Redis.IConnectionMultiplexer untuk akses database.
- key
- StackExchange.Redis.RedisKey
yang StackExchange.Redis.RedisKey digunakan untuk menyimpan daftar kunci.
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Berlaku untuk
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)
Mengonfigurasi sistem perlindungan data untuk mempertahankan kunci ke kunci yang ditentukan dalam database Redis
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
Parameter
- builder
- IDataProtectionBuilder
Instans penyusun untuk dimodifikasi.
- databaseFactory
- Func<StackExchange.Redis.IDatabase>
Delegasi yang digunakan untuk membuat StackExchange.Redis.IDatabase instans.
- key
- StackExchange.Redis.RedisKey
yang StackExchange.Redis.RedisKey digunakan untuk menyimpan daftar kunci.
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk