TrustManagerContext.KeepAlive Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.