SecurityPermissionAttribute.Infrastructure 属性

定义

获取或设置一个值,该值指示代码是否可以插入公共语言运行时基础结构中,例如添加远程上下文接收器、特使接收器和动态接收器。

public:
 property bool Infrastructure { bool get(); void set(bool value); };
public bool Infrastructure { get; set; }
[System.Runtime.InteropServices.ComVisible(true)]
public bool Infrastructure { get; set; }
member this.Infrastructure : bool with get, set
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.Infrastructure : bool with get, set
Public Property Infrastructure As Boolean

属性值

如果代码可以插入公共语言运行时基础结构中,则为 true;否则为 false

属性

适用于