Share via


ExtensionHandle<TInterfaceType> Class

Contains the extension type and the named configuration for this extension type.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Extensibility.ExtensionHandle
    Microsoft.Data.Schema.Extensibility.ExtensionHandle<TInterfaceType>

Namespace:  Microsoft.Data.Schema.Extensibility
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public NotInheritable Class ExtensionHandle(Of TInterfaceType As {Class, IExtension}) _
    Inherits ExtensionHandle
public sealed class ExtensionHandle<TInterfaceType> : ExtensionHandle
where TInterfaceType : class, IExtension
generic<typename TInterfaceType>
where TInterfaceType : ref class, IExtension
public ref class ExtensionHandle sealed : public ExtensionHandle
[<Sealed>]
type ExtensionHandle<'TInterfaceType when 'TInterfaceType : not struct and IExtension> =  
    class
        inherit ExtensionHandle
    end
JScript does not support generic types or methods.

Type Parameters

  • TInterfaceType

The ExtensionHandle<TInterfaceType> type exposes the following members.

Properties

  Name Description
Public property Description Gets or sets the description of this extension. (Inherited from ExtensionHandle.)
Public property ExtensionManager Gets or sets a reference to the ExtensionManager. (Inherited from ExtensionHandle.)
Public property ExtensionType Gets the extension type. (Inherited from ExtensionHandle.)
Public property ExtensionTypeFriendlyName Gets the friendly name of the extension type. (Inherited from ExtensionHandle.)
Public property FriendlyName Gets the friendly name of this extension handle. (Inherited from ExtensionHandle.)
Public property Publisher Gets or sets the name of the publisher of this extension. (Inherited from ExtensionHandle.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether two objects are equal. (Inherited from ExtensionHandle.)
Public method Equals(ExtensionHandle) Determines whether two ExtensionHandle objects are equal. If the ExtensionType is the same, the objects are equal. (Inherited from ExtensionHandle.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for this ExtensionHandle based on the ExtensionType. (Inherited from ExtensionHandle.)
Public method GetSchema Gets the schema for the XML serialization of this extension. (Inherited from ExtensionHandle.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Instantiate Instantiates an ExtensionHandle.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadXml Deserializes an extension that returns the assembly name and type name. (Inherited from ExtensionHandle.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteXml Serializes this extension handle. The assembly full name and the full type name are included in the serialization. (Inherited from ExtensionHandle.)

Top

Remarks

Gets the ExtensionHandler from ExtensionManager. It is possible to instantiate the extension type from this handle.

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

Microsoft.Data.Schema.Extensibility Namespace