語言

HttpListener.ExtendedProtectionPolicy 屬性

定義

取得或設定 用於 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 會話,實例會直接從自己的 TLS 會話取得通道綁定令牌(CBT)。

適用於

另請參閱