HttpListener.ExtendedProtectionSelectorDelegate Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the delegate called to determine the ExtendedProtectionPolicy to use for each request.
public:
property System::Net::HttpListener::ExtendedProtectionSelector ^ ExtendedProtectionSelectorDelegate { System::Net::HttpListener::ExtendedProtectionSelector ^ get(); void set(System::Net::HttpListener::ExtendedProtectionSelector ^ value); };
public System.Net.HttpListener.ExtendedProtectionSelector? ExtendedProtectionSelectorDelegate { get; set; }
public System.Net.HttpListener.ExtendedProtectionSelector ExtendedProtectionSelectorDelegate { get; set; }
member this.ExtendedProtectionSelectorDelegate : System.Net.HttpListener.ExtendedProtectionSelector with get, set
Public Property ExtendedProtectionSelectorDelegate As HttpListener.ExtendedProtectionSelector
Property Value
A ExtendedProtectionPolicy that specifies the policy to use for extended protection.
Exceptions
An attempt was made to set the ExtendedProtectionSelectorDelegate property, but the CustomChannelBinding property must be null
.
An attempt was made to set the ExtendedProtectionSelectorDelegate property to null
.
An attempt was made to set the ExtendedProtectionSelectorDelegate property after the Start() method was already called.
This object is closed.
An attempt was made to set the ExtendedProtectionSelectorDelegate property on a platform that does not support extended protection.
Remarks
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 null
. 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 null
for this property, this represents a ExtendedProtectionPolicy which the PolicyEnforcement property set to Never.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기