ItemPolicy.OnActivated Method
Called when a policy is activated.
Namespace: Microsoft.Windows.Design.Policies
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Protected MustOverride Sub OnActivated
'Usage
Me.OnActivated()
protected abstract void OnActivated()
protected:
virtual void OnActivated() abstract
protected abstract function OnActivated()
Remarks
Policies are activated only when all of their requirements are met.
.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.Policies Namespace