RequirementSubscription Constructor
Initializes a new instance of the RequirementSubscription class.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected Sub New ( _
requirement As RequirementAttribute _
)
protected RequirementSubscription(
RequirementAttribute requirement
)
protected:
RequirementSubscription(
RequirementAttribute^ requirement
)
new :
requirement:RequirementAttribute -> RequirementSubscription
protected function RequirementSubscription(
requirement : RequirementAttribute
)
Parameters
- requirement
Type: Microsoft.Windows.Design.RequirementAttribute
The requirement to create a subscription for.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | requirement is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design Namespace