共用方式為


DpapiNGXmlEncryptor 建構函式

定義

多載

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

建立 的新實例 DpapiNGXmlEncryptor

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

建立 的新實例 DpapiNGXmlEncryptor

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

建立 的新實例 DpapiNGXmlEncryptor

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags)

建立 的新實例 DpapiNGXmlEncryptor

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags)

參數

protectionDescriptorRule
String

要從中建立保護描述元的規則字串。

flags
DpapiNGProtectionDescriptorFlags

控制保護描述項建立的旗標。

適用於

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, ILoggerFactory)

來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs
來源:
DpapiNGXmlEncryptor.cs

建立 的新實例 DpapiNGXmlEncryptor

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags, loggerFactory As ILoggerFactory)

參數

protectionDescriptorRule
String

要從中建立保護描述元的規則字串。

flags
DpapiNGProtectionDescriptorFlags

控制保護描述項建立的旗標。

loggerFactory
ILoggerFactory

ILoggerFactory

適用於

DpapiNGXmlEncryptor(String, DpapiNGProtectionDescriptorFlags, IServiceProvider)

建立 的新實例 DpapiNGXmlEncryptor

public:
 DpapiNGXmlEncryptor(System::String ^ protectionDescriptorRule, Microsoft::AspNetCore::DataProtection::XmlEncryption::DpapiNGProtectionDescriptorFlags flags, IServiceProvider ^ services);
public DpapiNGXmlEncryptor (string protectionDescriptorRule, Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags flags, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor : string * Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags * IServiceProvider -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGXmlEncryptor
Public Sub New (protectionDescriptorRule As String, flags As DpapiNGProtectionDescriptorFlags, services As IServiceProvider)

參數

protectionDescriptorRule
String

要從中建立保護描述元的規則字串。

flags
DpapiNGProtectionDescriptorFlags

控制保護描述項建立的旗標。

services
IServiceProvider

選擇性 IServiceProvider 的 ,可提供輔助服務。

適用於