RedactionExtensions.SetHmacRedactor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[]) |
设置要用于一组数据分类的 HMAC 重函数。 |
SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[]) |
设置要用于一组数据分类的 HMAC 重函数。 |
SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])
- Source:
- RedactionExtensions.cs
设置要用于一组数据分类的 HMAC 重函数。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, section As IConfigurationSection, ParamArray classifications As DataClassificationSet()) As IRedactionBuilder
参数
- builder
- IRedactionBuilder
要将重函数附加到的生成器。
- section
- IConfigurationSection
配置部分。
- classifications
- DataClassificationSet[]
应为其使用重函数类型的数据分类。
返回
builder
的值。
例外
builder
、section
或 classifications
为 null
。
适用于
SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])
- Source:
- RedactionExtensions.cs
设置要用于一组数据分类的 HMAC 重函数。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Action<Microsoft::Extensions::Compliance::Redaction::HmacRedactorOptions ^> ^ configure, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> configure, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, configure As Action(Of HmacRedactorOptions), ParamArray classifications As DataClassificationSet()) As IRedactionBuilder
参数
- builder
- IRedactionBuilder
要将重函数附加到的生成器。
- configure
- Action<HmacRedactorOptions>
配置函数。
- classifications
- DataClassificationSet[]
应为其使用重函数类型的数据分类。
返回
builder
的值。
例外
builder
、configure
或 classifications
为 null
。