AppDomainSetup.ApplicationTrust Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets an object containing security and trust information.

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

public ApplicationTrust ApplicationTrust { get; set; }
/** @property */
public ApplicationTrust get_ApplicationTrust ()

/** @property */
public void set_ApplicationTrust (ApplicationTrust value)

public function get ApplicationTrust () : ApplicationTrust

public function set ApplicationTrust (value : ApplicationTrust)

Property Value

An ApplicationTrust object representing security and trust information.

Exception typeCondition

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 a null reference (Nothing in Visual Basic).

ArgumentNullException

The property is set to a null reference (Nothing in Visual Basic).

This property is a null reference (Nothing in Visual Basic) when the AppDomainSetup is created. Once changed, it cannot be reset to a null reference.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: