ResourceExposureAttribute クラス
アセンブリ: mscorlib (mscorlib.dll 内)

<AttributeUsageAttribute(AttributeTargets.Constructor Or AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field, Inherited:=False)> _ <ConditionalAttribute("RESOURCE_ANNOTATION_WORK")> _ Public NotInheritable Class ResourceExposureAttribute Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, Inherited=false)] [ConditionalAttribute("RESOURCE_ANNOTATION_WORK")] public sealed class ResourceExposureAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Constructor|AttributeTargets::Method|AttributeTargets::Property|AttributeTargets::Field, Inherited=false)] [ConditionalAttribute(L"RESOURCE_ANNOTATION_WORK")] public ref class ResourceExposureAttribute sealed : public Attribute

ResourceExposureAttribute 属性が適用されたメンバを呼び出すメンバには、ResourceConsumptionAttribute 属性を適用する必要があります。Public メンバは、Assembly リソースや Private リソースを公開できません。Assembly スコープのメンバは Private リソースを公開できません。
リソース スコープが None の ResourceExposureAttribute 属性をメソッドに適用すると、メソッドのグラフは終了します。

System.Attribute
System.Runtime.Versioning.ResourceExposureAttribute


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ResourceExposureAttribute クラスのページへのリンク