AppDomainSetup::ApplicationTrust Property
.NET Framework (current version)
Gets or sets an object containing security and trust information.
Assembly: mscorlib (in mscorlib.dll)
public: property ApplicationTrust^ ApplicationTrust { ApplicationTrust^ get(); void set(ApplicationTrust^ value); }
Property Value
Type: System.Security.Policy::ApplicationTrust^An object that contains security and trust information.
| Exception | Condition |
|---|---|
| InvalidOperationException | 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. |
| ArgumentNullException | The property is set to null. |
This property is null when the AppDomainSetup is created. Once changed, it cannot be reset to a null reference.
.NET Framework
Available since 2.0
Available since 2.0
Show: