Redigera

Dela via


TrustManagerContext Constructors

Definition

Initializes a new instance of the TrustManagerContext class.

Overloads

TrustManagerContext()

Initializes a new instance of the TrustManagerContext class.

TrustManagerContext(TrustManagerUIContext)

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

TrustManagerContext()

Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs

Initializes a new instance of the TrustManagerContext class.

public:
 TrustManagerContext();
public TrustManagerContext ();
Public Sub New ()

Remarks

The following table shows the initial property values for a new instance of the TrustManagerContext class.

Property Initial value
IgnorePersistedDecision false
KeepAlive false
NoPrompt false
Persist true
PreviousApplicationIdentity null
UIContext Run

Applies to

TrustManagerContext(TrustManagerUIContext)

Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs
Source:
TrustManagerContext.cs

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

public:
 TrustManagerContext(System::Security::Policy::TrustManagerUIContext uiContext);
public TrustManagerContext (System.Security.Policy.TrustManagerUIContext uiContext);
new System.Security.Policy.TrustManagerContext : System.Security.Policy.TrustManagerUIContext -> System.Security.Policy.TrustManagerContext
Public Sub New (uiContext As TrustManagerUIContext)

Parameters

uiContext
TrustManagerUIContext

One of the TrustManagerUIContext values that specifies the type of trust manager user interface to use.

Remarks

This constructor initializes the properties to the same settings as the parameterless constructor, with the exception of the UIContext property, which is set to the value that is passed in.

Applies to