Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns a RequirementSubscription object that can be used to be notified when the requirement contained in this attribute has changed.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public MustOverride Function CreateSubscription ( _
context As EditingContext _
) As RequirementSubscription
public abstract RequirementSubscription CreateSubscription(
EditingContext context
)
public:
virtual RequirementSubscription^ CreateSubscription(
EditingContext^ context
) abstract
abstract CreateSubscription :
context:EditingContext -> RequirementSubscription
public abstract function CreateSubscription(
context : EditingContext
) : RequirementSubscription
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The editing context to check.
Return Value
Type: Microsoft.Windows.Design.RequirementSubscription
A new RequirementSubscription object.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | context is nulla null reference (Nothing in Visual Basic). |
Remarks
The caller can handle this event and call the MeetsRequirement method to determine whether the requirement is met after the change.
.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