HttpListener.ExtendedProtectionPolicy 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于会话的扩展保护的 ExtendedProtectionPolicy。
public:
property System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ ExtendedProtectionPolicy { System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ get(); void set(System::Security::Authentication::ExtendedProtection::ExtendedProtectionPolicy ^ value); };
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; set; }
public System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy ExtendedProtectionPolicy { get; [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] set; }
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
[<set: System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.ExtendedProtectionPolicy : System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy with get, set
Public Property ExtendedProtectionPolicy As ExtendedProtectionPolicy
属性值
一个 ExtendedProtectionPolicy,它指定要用于扩展保护的策略。
- 属性
例外
尝试设置 ExtendedProtectionPolicy 属性,但 CustomChannelBinding 属性不是 null。
尝试将 ExtendedProtectionPolicy 属性设置为 null。
尝试在调用 ExtendedProtectionPolicy 方法后设置 Start() 属性。
此对象已关闭。
PolicyEnforcement 属性设置为平台上的 Always,其不支持扩展的保护。
注解
属性 ExtendedProtectionPolicy 与集成 Windows 身份验证一起使用,以提供扩展保护。 属性 ExtendedProtectionPolicy 允许为整个 HttpListener 会话配置扩展保护策略。 属性 ExtendedProtectionSelectorDelegate 允许为每个单独的请求配置扩展保护策略。
CustomChannelBinding 属性必须为 null。
HttpListener实例直接从自己的 TLS 会话获取通道绑定令牌 (CBT) (如果有)。