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
'Declaración
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 | |
---|---|---|
DataClientObject<T> | Initializes a new instance of the DataClientObject<T> class. |
Top
Properties
Name | Description | |
---|---|---|
ProviderObject | Gets the underlying provider object. |
Top
Methods
Name | Description | |
---|---|---|
Create | Creates a new data client object. | |
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 a hash function for a particular type. (Inherited from Object.) | |
GetInstanceOfType | Retrieves an instance of the specified support entity. | |
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. | |
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.