AppDomainSetup.DisallowBindingRedirects AppDomainSetup.DisallowBindingRedirects AppDomainSetup.DisallowBindingRedirects AppDomainSetup.DisallowBindingRedirects Property

定义

获取或设置一个值,该值指示应用程序域是否允许程序集绑定重定向。Gets or sets a value that indicates whether an application domain allows assembly binding redirection.

public:
 property bool DisallowBindingRedirects { bool get(); void set(bool value); };
public bool DisallowBindingRedirects { get; set; }
member this.DisallowBindingRedirects : bool with get, set
Public Property DisallowBindingRedirects As Boolean

属性值

如果不允许程序集的重定向,则为 true;如果允许,则为 falsetrue if redirection of assemblies is not allowed; false if it is allowed.

注解

DisallowBindingRedirects属性旨在供服务和服务器应用程序程序集绑定重定向不是应用程序方案的一部分。The DisallowBindingRedirects property is designed to be used by services and server applications where assembly binding redirection is not part of the application scenario.

适用于