ResourceConsumptionAttribute Constructor (ResourceScope)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the ResourceConsumptionAttribute class specifying the scope of the consumed resource.

Namespace:   System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

public:
ResourceConsumptionAttribute(
	ResourceScope resourceScope
)

Parameters

resourceScope
Type: System.Runtime.Versioning::ResourceScope

The ResourceScope for the consumed resource.

.NET Framework
Available since 2.0
Return to top
Show: