This documentation is archived and is not being maintained.

ResourceConsumptionAttribute Constructor

Initializes a new instance of the ResourceConsumptionAttribute class.

Name Description
ResourceConsumptionAttribute (ResourceScope) Initializes a new instance of the ResourceConsumptionAttribute class specifying the scope of the consumed resource.
ResourceConsumptionAttribute (ResourceScope, ResourceScope) Initializes a new instance of the ResourceConsumptionAttribute class specifying the scope of the consumed resource and the scope of how it is consumed.
Show: