This documentation is archived and is not being maintained.
AppDomainSetup::ApplicationTrust Property
Visual Studio 2010
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::ApplicationTrustAn 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 nullptr. |
| ArgumentNullException | The property is set to nullptr. |
This property is nullptr when the AppDomainSetup is created. Once changed, it cannot be reset to a null reference.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: