Share via


DataClientObject<T> Class

Represents a client wrapper object that interacts with an underlying provider object.

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 DataClientObject(Of T As Class) _
    Implements IVsDataClientObject(Of T), IServiceProvider
public abstract class DataClientObject<T> : IVsDataClientObject<T>, 
    IServiceProvider 
where T : class
generic<typename T>
where T : ref class 
public ref class DataClientObject abstract : IVsDataClientObject<T>, 
    IServiceProvider
[<AbstractClass>]
type DataClientObject<'T when 'T : not struct> =  
    class 
        interface IVsDataClientObject<'T>
        interface IServiceProvider 
    end
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the parameter.

The DataClientObject<T> type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Protected property ProviderObject Gets the underlying provider object.

Top

Methods

  Name Description
Public methodStatic member Create Creates a new data client object.
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.
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.
Explicit interface implemetationPrivate method IVsDataClientObject<T>.Initialize Initializes the data client object with the specified provider.

Top

Remarks

This is the base implementation of the IVsDataClientObject<T> interface.

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