ExtendedProtectionPolicy Constructor (PolicyEnforcement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced.

Namespace:   System.Security.Authentication.ExtendedProtection
Assembly:  System (in System.dll)

new : 
        policyEnforcement:PolicyEnforcement -> ExtendedProtectionPolicy

Parameters

policyEnforcement
Type: System.Security.Authentication.ExtendedProtection.PolicyEnforcement

A PolicyEnforcement value that indicates when the extended protection policy should be enforced.

When this constructor is used to initialize a new instance of the ExtendedProtectionPolicy class, the PolicyEnforcement property is set to the policyEnforcement parameter and the ProtectionScenario property is set to TransportSelected.

.NET Framework
Available since 2.0
Return to top
Show: