Partager via


IVsDataClientObject<T>.Initialize Method

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

'Declaration
Sub Initialize ( _
    providerObj As T _
)
void Initialize(
    T providerObj
)
void Initialize(
    T providerObj
)
abstract Initialize : 
        providerObj:'T -> unit
function Initialize(
    providerObj : T
)

Parameters

  • providerObj
    Type: T

    The underlying provider object implementation.

Exceptions

Exception Condition
ArgumentNullException

The providerObj parameter is nulla 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.

.NET Framework Security

See Also

Reference

IVsDataClientObject<T> Interface

Microsoft.VisualStudio.Data.Core Namespace