ResourceExposureAttribute(ResourceScope) 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的公开级别初始化 ResourceExposureAttribute 类的新实例。
此 API 支持产品基础结构,不能在代码中直接使用。
public:
 ResourceExposureAttribute(System::Runtime::Versioning::ResourceScope exposureLevel);public ResourceExposureAttribute (System.Runtime.Versioning.ResourceScope exposureLevel);new System.Runtime.Versioning.ResourceExposureAttribute : System.Runtime.Versioning.ResourceScope -> System.Runtime.Versioning.ResourceExposureAttributePublic Sub New (exposureLevel As ResourceScope)参数
- exposureLevel
- ResourceScope
资源的范围。