AppDomainSetup.ApplicationTrust AppDomainSetup.ApplicationTrust AppDomainSetup.ApplicationTrust AppDomainSetup.ApplicationTrust Property


获取或设置一个包含安全性和信任信息的对象。Gets or sets an object containing security and trust information.

 property System::Security::Policy::ApplicationTrust ^ ApplicationTrust { System::Security::Policy::ApplicationTrust ^ get(); void set(System::Security::Policy::ApplicationTrust ^ value); };
public System.Security.Policy.ApplicationTrust ApplicationTrust { get; set; }
member this.ApplicationTrust : System.Security.Policy.ApplicationTrust with get, set
Public Property ApplicationTrust As ApplicationTrust


包含安全和信任信息的对象。An object that contains security and trust information.


属性设置为 ApplicationTrust 对象,该对象的应用程序标识不匹配 ActivationArguments 属性返回的 ActivationArguments 对象的应用程序标识。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. 如果 ActivationArguments 属性为 null,则不会引发异常。No exception is thrown if the ActivationArguments property is null.

属性设置为 nullThe property is set to null.


此属性是nullAppDomainSetup创建。This property is null when the AppDomainSetup is created. 更改后,它不能重置为空引用。Once changed, it cannot be reset to a null reference.