HttpListener.ExtendedProtectionSelector 委托

定义

在确定要用于每个 HttpListener 请求的 ExtendedProtectionPolicy 时调用的委托。

public: delegate System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ HttpListener::ExtendedProtectionSelector(HttpListenerRequest ^ request);
public delegate System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy HttpListener.ExtendedProtectionSelector(HttpListenerRequest request);
type HttpListener.ExtendedProtectionSelector = delegate of HttpListenerRequest -> ExtendedProtectionPolicy
Public Delegate Function HttpListener.ExtendedProtectionSelector(request As HttpListenerRequest) As ExtendedProtectionPolicy 

参数

request
HttpListenerRequest

用于确定 HttpListener 实例将用来提供扩展保护的扩展保护策略的 HttpListenerRequest

返回值

一个 ExtendedProtectionPolicy 对象,它指定用于此请求的扩展保护策略。

注解

HttpListener.ExtendedProtectionSelector与集成Windows 身份验证一起使用,以提供扩展保护。 对于每个请求,委托可以选择实例将用于提供扩展保护的设置 HttpListener

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。

适用于

另请参阅