HostProtectionAttribute.Resources 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置指定对主机可能有害的功能类别的标志。
public:
property System::Security::Permissions::HostProtectionResource Resources { System::Security::Permissions::HostProtectionResource get(); void set(System::Security::Permissions::HostProtectionResource value); };
public System.Security.Permissions.HostProtectionResource Resources { get; set; }
member this.Resources : System.Security.Permissions.HostProtectionResource with get, set
Public Property Resources As HostProtectionResource
属性值
值的按位组合 HostProtectionResource 。 默认值为 None。
注解
标志 HostProtectionResource 指定方法或类公开的资源,这些资源可能对主机有害。