ExtendedProtectionPolicy Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av ExtendedProtectionPolicy klassen.
Överlagringar
| Name | Description |
|---|---|
| ExtendedProtectionPolicy(PolicyEnforcement) |
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas. |
| ExtendedProtectionPolicy(SerializationInfo, StreamingContext) |
Föråldrad.
Initierar en ny instans av ExtendedProtectionPolicy klassen från ett SerializationInfo objekt som innehåller de data som krävs för att fylla i ExtendedProtectionPolicy. |
| ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding) |
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas och kanalbindningstoken (CBT) som ska användas. |
| ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection) |
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas, vilken typ av skydd som tillämpas av principen och en anpassad SPN-lista (Service Provider Name) som används för att matcha mot en klients SPN. |
| ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection) |
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas, vilken typ av skydd som tillämpas av principen och en anpassad SPN-lista (Service Provider Name) som används för att matcha mot en klients SPN. |
ExtendedProtectionPolicy(PolicyEnforcement)
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas.
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)
Parametrar
- policyEnforcement
- PolicyEnforcement
Ett PolicyEnforcement värde som anger när den utökade skyddsprincipen ska tillämpas.
Kommentarer
När den här konstruktorn används för att initiera en ny instans av ExtendedProtectionPolicy klassen PolicyEnforcement anges egenskapen till parametern policyEnforcement och ProtectionScenario egenskapen är inställd på TransportSelected.
Se även
Gäller för
ExtendedProtectionPolicy(SerializationInfo, StreamingContext)
Varning
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initierar en ny instans av ExtendedProtectionPolicy klassen från ett SerializationInfo objekt som innehåller de data som krävs för att fylla i 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)
Parametrar
- info
- SerializationInfo
En SerializationInfo instans som innehåller den information som krävs för att serialisera den nya ExtendedProtectionPolicy instansen.
- context
- StreamingContext
En StreamingContext som innehåller källan till den serialiserade dataström som är associerad med den nya ExtendedProtectionPolicy instansen.
- Attribut
Kommentarer
Den här konstruktorn implementerar System.Runtime.Serialization.ISerializable gränssnittet för ExtendedProtectionPolicy klassen.
Metoden ISerializable.GetObjectData kan användas för att serialisera ett ExtendedProtectionPolicy objekt. Det här serialiserade objektet kan sedan användas med ExtendedProtectionPolicy(SerializationInfo, StreamingContext) för att konstruera ett nytt ExtendedProtectionPolicy objekt.
Se även
- ISerializable.GetObjectData(SerializationInfo, StreamingContext)
- integrerad Windows-autentisering med utökat skydd
Gäller för
ExtendedProtectionPolicy(PolicyEnforcement, ChannelBinding)
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas och kanalbindningstoken (CBT) som ska användas.
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)
Parametrar
- policyEnforcement
- PolicyEnforcement
Ett PolicyEnforcement värde som anger när den utökade skyddsprincipen ska tillämpas.
- customChannelBinding
- ChannelBinding
En ChannelBinding som innehåller en anpassad kanalbindning som ska användas för validering.
Undantag
policyEnforcement anges som Never.
customChannelBinding är null.
Kommentarer
När den här konstruktorn används för att initiera en ny instans av ExtendedProtectionPolicy klassen PolicyEnforcement anges egenskapen till parametern policyEnforcement , CustomChannelBinding egenskapen är inställd på parametern customChannelBinding och ProtectionScenario egenskapen är inställd på TransportSelected.
Se även
Gäller för
ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ICollection)
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas, vilken typ av skydd som tillämpas av principen och en anpassad SPN-lista (Service Provider Name) som används för att matcha mot en klients SPN.
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)
Parametrar
- policyEnforcement
- PolicyEnforcement
Ett PolicyEnforcement värde som anger när den utökade skyddsprincipen ska tillämpas.
- protectionScenario
- ProtectionScenario
Ett ProtectionScenario värde som anger vilken typ av skydd som tillämpas av principen.
- customServiceNames
- ICollection
En ICollection som innehåller den anpassade SPN-listan som används för att matcha mot en klients SPN.
Undantag
policyEnforcement anges som Never.
customServiceNames är null eller en tom lista.
Kommentarer
När den här konstruktorn används för att initiera en ny instans av ExtendedProtectionPolicy klassen PolicyEnforcement anges egenskapen till parametern policyEnforcement , ProtectionScenario egenskapen är inställd på parametern protectionScenario och CustomServiceNames egenskapen är inställd på parametern customServiceNames .
Se även
Gäller för
ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, ServiceNameCollection)
Initierar en ny instans av ExtendedProtectionPolicy klassen som anger när den utökade skyddsprincipen ska tillämpas, vilken typ av skydd som tillämpas av principen och en anpassad SPN-lista (Service Provider Name) som används för att matcha mot en klients SPN.
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)
Parametrar
- policyEnforcement
- PolicyEnforcement
Ett PolicyEnforcement värde som anger när den utökade skyddsprincipen ska tillämpas.
- protectionScenario
- ProtectionScenario
Ett ProtectionScenario värde som anger vilken typ av skydd som tillämpas av principen.
- customServiceNames
- ServiceNameCollection
En ServiceNameCollection som innehåller den anpassade SPN-listan som används för att matcha mot en klients SPN.
Undantag
policyEnforcement anges som Never.
customServiceNames är null eller en tom lista.
Kommentarer
När den här konstruktorn används för att initiera en ny instans av ExtendedProtectionPolicy klassen PolicyEnforcement anges egenskapen till parametern policyEnforcement , ProtectionScenario egenskapen är inställd på parametern protectionScenario och CustomServiceNames egenskapen är inställd på parametern customServiceNames .