RedactionExtensions.SetHmacRedactor 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[]) |
設定要用於一組數據分類的 HMAC 重做函式。 |
SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[]) |
設定要用於一組數據分類的 HMAC 重做函式。 |
SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])
設定要用於一組數據分類的 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[])
設定要用於一組數據分類的 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
。