AppDomainSetup.ApplicationTrust 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 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.