TfsConnection.InitializeTeamFoundationObject (Método)
Inicializa el objeto creado si implementa ITfsConnectionObject.
Espacio de nombres: Microsoft.TeamFoundation.Client
Ensamblado: Microsoft.TeamFoundation.Client (en Microsoft.TeamFoundation.Client.dll)
Sintaxis
'Declaración
Protected Overridable Function InitializeTeamFoundationObject ( _
fullName As String, _
instance As Object _
) As Object
protected virtual Object InitializeTeamFoundationObject(
string fullName,
Object instance
)
Parámetros
- fullName
Tipo: System.String
- instance
Tipo: System.Object
Valor devuelto
Tipo: System.Object
Comentarios
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.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, consulte Utilizar bibliotecas de código que no es de plena confianza.