Delen via


DataConnectionClientService<T> Class

Represents a base implementation of the IVsDataClientObject<T> interface for data connection services.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Framework.DataClientObject<T>
    Microsoft.VisualStudio.Data.Framework.DataConnectionClientService<T>

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public MustInherit Class DataConnectionClientService(Of T As Class) _
    Inherits DataClientObject(Of T) _
    Implements IVsDataSiteableObject(Of IVsDataConnection)
public abstract class DataConnectionClientService<T> : DataClientObject<T>, 
    IVsDataSiteableObject<IVsDataConnection>
where T : class
generic<typename T>
where T : ref class 
public ref class DataConnectionClientService abstract : public DataClientObject<T>, 
    IVsDataSiteableObject<IVsDataConnection^>
[<AbstractClass>]
type DataConnectionClientService<'T when 'T : not struct> =  
    class 
        inherit DataClientObject<'T>
        interface IVsDataSiteableObject<IVsDataConnection>
    end
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the parameter.

The DataConnectionClientService<T> type exposes the following members.

Constructors

  Name Description
Protected method DataConnectionClientService<T> Initializes a new instance of the DataConnectionClientService<T> class.

Top

Properties

  Name Description
Protected property Connection Gets the current data connection associated with the data client service.
Protected property ProviderObject Gets the underlying provider object. (Inherited from DataClientObject<T>.)

Top

Methods

  Name Description
Public methodStatic member Create Creates an instance of the specified type for the given provider and data connection.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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 Serves as the default hash function. (Inherited from Object.)
Protected method GetInstanceOfType Retrieves an instance of the specified support entity. (Inherited from DataClientObject<T>.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.GetService Retrieves the service corresponding to the service type specified. (Inherited from DataClientObject<T>.)
Explicit interface implemetationPrivate method IVsDataClientObject<T>.Initialize Initializes the data client object with the specified provider. (Inherited from DataClientObject<T>.)
Explicit interface implemetationPrivate property IVsDataSiteableObject<IVsDataConnection>.Site Gets the site.

Top

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.VisualStudio.Data.Framework Namespace