SecurityPermissionAttribute.Infrastructure 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示代码是否可以插入公共语言运行时基础结构,例如添加远程处理上下文接收器、Envoy 接收器和动态接收器。
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.
- 属性