Edit

Bagikan melalui


TrustManagerContext Class

Definition

Represents the context for the trust manager to consider when making the decision to run an application, and when setting up the security on a new AppDomain in which to run an application.

public ref class TrustManagerContext
public class TrustManagerContext
[System.Runtime.InteropServices.ComVisible(true)]
public class TrustManagerContext
type TrustManagerContext = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type TrustManagerContext = class
Public Class TrustManagerContext
Inheritance
TrustManagerContext
Attributes

Remarks

For a list of initial property values for an instance of the TrustManagerContext class, see the TrustManagerContext() constructor.

Constructors

TrustManagerContext()

Initializes a new instance of the TrustManagerContext class.

TrustManagerContext(TrustManagerUIContext)

Initializes a new instance of the TrustManagerContext class using the specified TrustManagerUIContext object.

Properties

IgnorePersistedDecision

Gets or sets a value indicating whether the application security manager should ignore any persisted decisions and call the trust manager.

KeepAlive

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

NoPrompt

Gets or sets a value indicating whether the trust manager should prompt the user for trust decisions.

Persist

Gets or sets a value indicating whether the user's response to the consent dialog should be persisted.

PreviousApplicationIdentity

Gets or sets the identity of the previous application identity.

UIContext

Gets or sets the type of user interface the trust manager should display.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to