Editare

Partajați prin


TrustManagerContext.KeepAlive Property

Definition

Gets or sets a value indicating whether the trust manager should cache state for this application, to facilitate future requests to determine application trust.

public:
 virtual property bool KeepAlive { bool get(); void set(bool value); };
public virtual bool KeepAlive { get; set; }
member this.KeepAlive : bool with get, set
Public Overridable Property KeepAlive As Boolean

Property Value

true to cache state data; otherwise, false. The default is false.

Remarks

This flag is set to true if the host might call the trust manager numerous times for trust decisions for this application. If true, the trust manager should cache any state that might improve the speed of future calls to the DetermineApplicationTrust method. This property is set to false if the host does not expect to call the trust manager again for the current AppDomain.

Applies to