AppDomainSetup.ApplicationTrust Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an object containing security and trust information.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public ApplicationTrust ApplicationTrust { get; set; }

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
Return to top
Show: