Bagikan melalui


ExtendedProtectionPolicy Konstruktor

Definisi

Menginisialisasi instans baru dari kelas ExtendedProtectionPolicy.

Overload

Nama Deskripsi
ExtendedProtectionPolicy(PolicyEnforcement)

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperpanjang harus diberlakukan.

ExtendedProtectionPolicy(SerializationInfo, StreamingContext)
Kedaluwarsa.

Menginisialisasi instans ExtendedProtectionPolicy baru kelas dari SerializationInfo objek yang berisi data yang diperlukan untuk mengisi ExtendedProtectionPolicy.

ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding)

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan dan token pengikatan saluran (CBT) yang akan digunakan.

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection)

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan, jenis perlindungan yang diberlakukan oleh kebijakan, dan daftar Nama Penyedia Layanan (SPN) kustom yang digunakan untuk mencocokkan dengan SPN klien.

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection)

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan, jenis perlindungan yang diberlakukan oleh kebijakan, dan daftar Nama Penyedia Layanan (SPN) kustom yang digunakan untuk mencocokkan dengan SPN klien.

ExtendedProtectionPolicy(PolicyEnforcement)

Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperpanjang harus diberlakukan.

public:
 ExtendedProtectionPolicy(System::Security::Authentication::ExtendedProtection::PolicyEnforcement policyEnforcement);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement);
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.PolicyEnforcement -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Public Sub New (policyEnforcement As PolicyEnforcement)

Parameter

policyEnforcement
PolicyEnforcement

PolicyEnforcement Nilai yang menunjukkan kapan kebijakan perlindungan yang diperluas harus diberlakukan.

Keterangan

Ketika konstruktor ini digunakan untuk menginisialisasi instans ExtendedProtectionPolicy baru kelas, PolicyEnforcement properti diatur ke policyEnforcement parameter dan ProtectionScenario properti diatur ke TransportSelected.

Lihat juga

Berlaku untuk

ExtendedProtectionPolicy(SerializationInfo, StreamingContext)

Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs

Perhatian

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Menginisialisasi instans ExtendedProtectionPolicy baru kelas dari SerializationInfo objek yang berisi data yang diperlukan untuk mengisi ExtendedProtectionPolicy.

protected:
 ExtendedProtectionPolicy(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ExtendedProtectionPolicy(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected ExtendedProtectionPolicy(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo

SerializationInfo Instans yang berisi informasi yang diperlukan untuk membuat serialisasi instans baruExtendedProtectionPolicy.

context
StreamingContext

StreamingContext yang berisi sumber aliran berseri yang terkait dengan instans baruExtendedProtectionPolicy.

Atribut

Keterangan

Konstruktor ini mengimplementasikan System.Runtime.Serialization.ISerializable antarmuka untuk ExtendedProtectionPolicy kelas .

Metode ISerializable.GetObjectData ini dapat digunakan untuk menserialisasikan ExtendedProtectionPolicy objek. Objek berseri ini kemudian dapat digunakan untuk ExtendedProtectionPolicy(SerializationInfo, StreamingContext) membuat objek baru ExtendedProtectionPolicy .

Lihat juga

Berlaku untuk

ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding)

Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan dan token pengikatan saluran (CBT) yang akan digunakan.

public:
 ExtendedProtectionPolicy(System::Security::Authentication::ExtendedProtection::PolicyEnforcement policyEnforcement, System::Security::Authentication::ExtendedProtection::ChannelBinding ^ customChannelBinding);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement, System.Security.Authentication.ExtendedProtection.ChannelBinding customChannelBinding);
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.PolicyEnforcement * System.Security.Authentication.ExtendedProtection.ChannelBinding -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Public Sub New (policyEnforcement As PolicyEnforcement, customChannelBinding As ChannelBinding)

Parameter

policyEnforcement
PolicyEnforcement

PolicyEnforcement Nilai yang menunjukkan kapan kebijakan perlindungan yang diperluas harus diberlakukan.

customChannelBinding
ChannelBinding

ChannelBinding yang berisi pengikatan saluran kustom untuk digunakan untuk validasi.

Pengecualian

policyEnforcement ditentukan sebagai Never.

customChannelBinding adalah null.

Keterangan

Ketika konstruktor ini digunakan untuk menginisialisasi instans ExtendedProtectionPolicy baru kelas, PolicyEnforcement properti diatur ke policyEnforcement parameter , CustomChannelBinding properti diatur ke customChannelBinding parameter , dan ProtectionScenario properti diatur ke TransportSelected.

Lihat juga

Berlaku untuk

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection)

Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan, jenis perlindungan yang diberlakukan oleh kebijakan, dan daftar Nama Penyedia Layanan (SPN) kustom yang digunakan untuk mencocokkan dengan SPN klien.

public:
 ExtendedProtectionPolicy(System::Security::Authentication::ExtendedProtection::PolicyEnforcement policyEnforcement, System::Security::Authentication::ExtendedProtection::ProtectionScenario protectionScenario, System::Collections::ICollection ^ customServiceNames);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement, System.Security.Authentication.ExtendedProtection.ProtectionScenario protectionScenario, System.Collections.ICollection? customServiceNames);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement, System.Security.Authentication.ExtendedProtection.ProtectionScenario protectionScenario, System.Collections.ICollection customServiceNames);
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.PolicyEnforcement * System.Security.Authentication.ExtendedProtection.ProtectionScenario * System.Collections.ICollection -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Public Sub New (policyEnforcement As PolicyEnforcement, protectionScenario As ProtectionScenario, customServiceNames As ICollection)

Parameter

policyEnforcement
PolicyEnforcement

PolicyEnforcement Nilai yang menunjukkan kapan kebijakan perlindungan yang diperluas harus diberlakukan.

protectionScenario
ProtectionScenario

ProtectionScenario Nilai yang menunjukkan jenis perlindungan yang diberlakukan oleh kebijakan.

customServiceNames
ICollection

ICollection yang berisi daftar SPN kustom yang digunakan untuk mencocokkan dengan SPN klien.

Pengecualian

policyEnforcement ditentukan sebagai Never.

customServiceNames adalah null atau daftar kosong.

Keterangan

Ketika konstruktor ini digunakan untuk menginisialisasi instans ExtendedProtectionPolicy baru kelas, PolicyEnforcement properti diatur ke policyEnforcement parameter , ProtectionScenario properti diatur ke protectionScenario parameter , dan CustomServiceNames properti diatur ke customServiceNames parameter .

Lihat juga

Berlaku untuk

ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection)

Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs
Sumber:
ExtendedProtectionPolicy.cs

Menginisialisasi instans ExtendedProtectionPolicy baru kelas yang menentukan kapan kebijakan perlindungan yang diperluas harus diberlakukan, jenis perlindungan yang diberlakukan oleh kebijakan, dan daftar Nama Penyedia Layanan (SPN) kustom yang digunakan untuk mencocokkan dengan SPN klien.

public:
 ExtendedProtectionPolicy(System::Security::Authentication::ExtendedProtection::PolicyEnforcement policyEnforcement, System::Security::Authentication::ExtendedProtection::ProtectionScenario protectionScenario, System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ customServiceNames);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement, System.Security.Authentication.ExtendedProtection.ProtectionScenario protectionScenario, System.Security.Authentication.ExtendedProtection.ServiceNameCollection? customServiceNames);
public ExtendedProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforcement, System.Security.Authentication.ExtendedProtection.ProtectionScenario protectionScenario, System.Security.Authentication.ExtendedProtection.ServiceNameCollection customServiceNames);
new System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.PolicyEnforcement * System.Security.Authentication.ExtendedProtection.ProtectionScenario * System.Security.Authentication.ExtendedProtection.ServiceNameCollection -> System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Public Sub New (policyEnforcement As PolicyEnforcement, protectionScenario As ProtectionScenario, customServiceNames As ServiceNameCollection)

Parameter

policyEnforcement
PolicyEnforcement

PolicyEnforcement Nilai yang menunjukkan kapan kebijakan perlindungan yang diperluas harus diberlakukan.

protectionScenario
ProtectionScenario

ProtectionScenario Nilai yang menunjukkan jenis perlindungan yang diberlakukan oleh kebijakan.

customServiceNames
ServiceNameCollection

ServiceNameCollection yang berisi daftar SPN kustom yang digunakan untuk mencocokkan dengan SPN klien.

Pengecualian

policyEnforcement ditentukan sebagai Never.

customServiceNames adalah null atau daftar kosong.

Keterangan

Ketika konstruktor ini digunakan untuk menginisialisasi instans ExtendedProtectionPolicy baru kelas, PolicyEnforcement properti diatur ke policyEnforcement parameter , ProtectionScenario properti diatur ke protectionScenario parameter , dan CustomServiceNames properti diatur ke customServiceNames parameter .

Lihat juga

Berlaku untuk