ResourceExposureAttribute(ResourceScope) 建構函式

定義

使用指定的公開層級,初始化 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.ResourceExposureAttribute
Public Sub New (exposureLevel As ResourceScope)

參數

exposureLevel
ResourceScope

資源的範圍。

適用於