Редагувати

Поділитися через


HttpListener.ExtendedProtectionSelector Delegate

Definition

A delegate called to determine the ExtendedProtectionPolicy to use for each HttpListener request.

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 

Parameters

request
HttpListenerRequest

The HttpListenerRequest to determine the extended protection policy that the HttpListener instance will use to provide extended protection.

Return Value

An ExtendedProtectionPolicy object that specifies the extended protection policy to use for this request.

Remarks

The HttpListener.ExtendedProtectionSelector class is used with integrated Windows authentication to provide extended protection. For each request, the delegate can choose the settings that the HttpListener instance will use to provide extended protection.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also