SecurityPermissionAttribute.Infrastructure 属性

定义

获取或设置一个值,该值指示代码是否可以插入公共语言运行时基础结构,例如添加远程处理上下文接收器、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.

属性

适用于