Share via


UsesItemPolicyAttribute.CreateSubscription Method

Returns a RequirementSubscription object that can be used to be notified when this policy is available.

Namespace:  Microsoft.Windows.Design.Policies
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

public override RequirementSubscription CreateSubscription(
    EditingContext context
)

Parameters

Return Value

Type: Microsoft.Windows.Design.RequirementSubscription
A new RequirementSubscription object.

Exceptions

Exception Condition
ArgumentNullException

context is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

UsesItemPolicyAttribute Class

Microsoft.Windows.Design.Policies Namespace

ItemPolicy

SelectionPolicy

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility