System.Runtime.Versioning.ResourceConsumptionAttribute: Constructor Members

The constructors of System.Runtime.Versioning.ResourceConsumptionAttribute are listed below. For a list of all members, see the ResourceConsumptionAttribute Members list.

See Also: Inherited members from System.Attribute

Public Constructors

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

Initializes a new instance of the System.Runtime.Versioning.ResourceConsumptionAttribute class specifying the scope of the consumed resource and the scope of how it is consumed.