ExtendedProtectionPolicy Constructor (PolicyEnforcement)

 

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)

public ExtendedProtectionPolicy(
	PolicyEnforcement policyEnforcement
)

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: