Partager via


TfsConnection.InitializeTeamFoundationObject, méthode

Initialise l'objet créé s'il implémente ITfsConnectionObject.

Espace de noms :  Microsoft.TeamFoundation.Client
Assembly :  Microsoft.TeamFoundation.Client (dans Microsoft.TeamFoundation.Client.dll)

Syntaxe

'Déclaration
Protected Overridable Function InitializeTeamFoundationObject ( _
    fullName As String, _
    instance As Object _
) As Object
protected virtual Object InitializeTeamFoundationObject(
    string fullName,
    Object instance
)

Paramètres

Valeur de retour

Type : System.Object

Notes

The correct way to derive from this method is to try to initialize the object by checking to see whether it implements the corresponding interface. If it does not, this method should be called in an attempt to initialize it. If this function returns null that means we were not able to initialize it either. It is then up to the derived class to decide what it should do.

Sécurité .NET Framework

Voir aussi

Référence

TfsConnection Classe

Microsoft.TeamFoundation.Client, espace de noms