Dela via


PolicyDrivenFeatureConnector<TFeatureProviderType> Class

A feature connector that can create feature providers based on ItemPolicy objects.

Namespace:  Microsoft.Windows.Design.Features
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public MustInherit Class PolicyDrivenFeatureConnector(Of TFeatureProviderType As FeatureProvider) _
    Inherits FeatureConnector(Of TFeatureProviderType)
'Usage
Dim instance As PolicyDrivenFeatureConnector(Of TFeatureProviderType)
public abstract class PolicyDrivenFeatureConnector<TFeatureProviderType> : FeatureConnector<TFeatureProviderType>
where TFeatureProviderType : FeatureProvider
generic<typename TFeatureProviderType>
where TFeatureProviderType : FeatureProvider 
public ref class PolicyDrivenFeatureConnector abstract : public FeatureConnector<TFeatureProviderType>
JScript does not support generic types or methods.

Type Parameters

  • TFeatureProviderType
    The type of feature provider.

Remarks

A PolicyDrivenFeatureConnector<TFeatureProviderType> creates feature providers based on item policies. The PolicyDrivenFeatureConnector<TFeatureProviderType> class caches and maintains a set of feature providers that match the current policies. The PolicyDrivenFeatureConnector<TFeatureProviderType> class can notify you when these feature providers change.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Features.FeatureConnector<TFeatureProviderType>
    Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector<TFeatureProviderType>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PolicyDrivenFeatureConnector<TFeatureProviderType> Members

Microsoft.Windows.Design.Features Namespace

FeatureConnector<TFeatureProviderType>

FeatureProvider

FeatureConnectorAttribute

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility