Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExtendedProtectionSelectorDelegate Property

HttpListener.ExtendedProtectionSelectorDelegate Property

Get or set the delegate called to determine the ExtendedProtectionPolicy to use for each request.

Namespace:  System.Net
Assembly:  System (in System.dll)

public function get ExtendedProtectionSelectorDelegate () : HttpListener..::.ExtendedProtectionSelector 
public function set ExtendedProtectionSelectorDelegate (value : HttpListener..::.ExtendedProtectionSelector)

Property Value

Type: System.Net.HttpListener.ExtendedProtectionSelector
A ExtendedProtectionPolicy that specifies the policy to use for extended protection.

Exception

Description

ArgumentException

An attempt was made to set the ExtendedProtectionSelectorDelegate property, but the CustomChannelBinding property must be a null reference (Nothing in Visual Basic).

ArgumentNullException

An attempt was made to set the ExtendedProtectionSelectorDelegate property to a null reference (Nothing in Visual Basic).

InvalidOperationException

An attempt was made to set the ExtendedProtectionSelectorDelegate property after the Start method was already called.

ObjectDisposedException

This object is closed.

The ExtendedProtectionPolicy property is used with integrated Windows authentication to provide extended protection. The ExtendedProtectionPolicy property allows the configuration of the extended protection policy for the whole HttpListener session. The ExtendedProtectionSelectorDelegate property allows the configuration of the extended protection policy per individual request.

The CustomChannelBinding property must be a null reference (Nothing in Visual Basic). The HttpListener instance gets the Channel Binding Token (CBT) directly from its own TLS session if there is one.

For each request, the delegate can choose the settings that the HttpListener instance will use to provide extended protection.

If a delegate returns a null reference (Nothing in Visual Basic) for this property, this represents a ExtendedProtectionPolicy which the PolicyEnforcement property set to Never.

Windows 7, Windows Server 2008 R2

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2015 Microsoft