ResourceConsumptionAttribute Constructor

 

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.

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

NameDescription
System_CAPS_pubmethodResourceConsumptionAttribute(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.

System_CAPS_pubmethodResourceConsumptionAttribute(ResourceScope, 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 and the scope of how it is consumed.

Return to top
Show: