Initializes the client object with the underlying provider object implementation.
Namespace: Microsoft.VisualStudio.Data.Core
Assembly: Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)
Syntax
'宣言
Sub Initialize ( _
providerObj As T _
)
'使用
Dim instance As IVsDataClientObject
Dim providerObj As T
instance.Initialize(providerObj)
void Initialize(
T providerObj
)
void Initialize(
T providerObj
)
function Initialize(
providerObj : T
)
Parameters
providerObj
Type: TThe underlying provider object implementation.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The providerObj parameter is a null reference (Nothing in Visual Basic). |
Remarks
This method is normally called by the DDEX runtime only when initializing a client object to return to a DDEX client. The typical implementation of this method by the owner of the support entity is to simply store the provider object so that it can be called into later.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataClientObject<T> Interface