Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AppDomainSetup::ApplicationTrust Property

 

Gets or sets an object containing security and trust information.

Namespace:   System
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
Return to top
Show:
© 2017 Microsoft