This documentation is archived and is not being maintained.

ResourceConsumptionAttribute Constructor

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

Initializes a new instance of the ResourceConsumptionAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ResourceConsumptionAttribute(ResourceScope) Infrastructure. Initializes a new instance of the ResourceConsumptionAttribute class specifying the scope of the consumed resource.
Public method ResourceConsumptionAttribute(ResourceScope, ResourceScope) Infrastructure. Initializes a new instance of the ResourceConsumptionAttribute class specifying the scope of the consumed resource and the scope of how it is consumed.
Top
Show: