แก้ไข

แชร์ผ่าน


AppDomainSetup.ApplicationTrust Property

Definition

Gets or sets an object containing security and trust information.

public:
 property System::Security::Policy::ApplicationTrust ^ ApplicationTrust { System::Security::Policy::ApplicationTrust ^ get(); void set(System::Security::Policy::ApplicationTrust ^ value); };
public System.Security.Policy.ApplicationTrust ApplicationTrust { get; set; }
member this.ApplicationTrust : System.Security.Policy.ApplicationTrust with get, set
Public Property ApplicationTrust As ApplicationTrust

Property Value

An object that contains security and trust information.

Exceptions

The property is set to an ApplicationTrust object whose application identity does not match the application identity of the ActivationArguments object returned by the ActivationArguments property. No exception is thrown if the ActivationArguments property is null.

The property is set to null.

Remarks

This property is null when the AppDomainSetup is created. Once changed, it cannot be reset to a null reference.

Applies to