ExtendedProtectionPolicy Constructor (PolicyEnforcement, ChannelBinding)
Initializes a new instance of the ExtendedProtectionPolicy class that specifies when the extended protection policy should be enforced and the channel binding token (CBT) to be used.
Assembly: System (in System.dll)
Public Sub New ( policyEnforcement As PolicyEnforcement, customChannelBinding As ChannelBinding )
A PolicyEnforcement value that indicates when the extended protection policy should be enforced.
A ChannelBinding that contains a custom channel binding to use for validation.
When this constructor is used to initialize a new instance of the ExtendedProtectionPolicy class, the PolicyEnforcement property is set to the policyEnforcement parameter, the CustomChannelBinding property is set to the customChannelBinding parameter, and the ProtectionScenario property is set to TransportSelected.
Available since 2.0