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 | |
---|---|---|
DataConnectionClientService<T> | Initializes a new instance of the DataConnectionClientService<T> class. |
Top
Properties
Name | Description | |
---|---|---|
Connection | Gets the current data connection associated with the data client service. | |
ProviderObject | Gets the underlying provider object. (Inherited from DataClientObject<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Create | Creates an instance of the specified type for the given provider and data connection. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInstanceOfType | Retrieves an instance of the specified support entity. (Inherited from DataClientObject<T>.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProvider.GetService | Retrieves the service corresponding to the service type specified. (Inherited from DataClientObject<T>.) | |
IVsDataClientObject<T>.Initialize | Initializes the data client object with the specified provider. (Inherited from DataClientObject<T>.) | |
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.