SecurityElementBase.RequireSecurityContextCancellation 属性

定义

获取或设置一个布尔值,该值指定当不再需要安全上下文时,是否应将其取消和终止。

public:
 property bool RequireSecurityContextCancellation { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("requireSecurityContextCancellation", DefaultValue=true)]
public bool RequireSecurityContextCancellation { get; set; }
[<System.Configuration.ConfigurationProperty("requireSecurityContextCancellation", DefaultValue=true)>]
member this.RequireSecurityContextCancellation : bool with get, set
Public Property RequireSecurityContextCancellation As Boolean

属性值

Boolean

如果当不再需要安全上下文时应将其取消和终止,则为 true;否则为 false

属性

适用于