TfsConnection.InitializeTeamFoundationObject 方法

如果已创建的对象实现 ITfsConnectionObject,请将其初始化。

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Protected Overridable Function InitializeTeamFoundationObject ( _
    fullName As String, _
    instance As Object _
) As Object
protected virtual Object InitializeTeamFoundationObject(
    string fullName,
    Object instance
)

参数

返回值

类型:System.Object

备注

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.

.NET Framework 安全性

请参阅

参考

TfsConnection 类

Microsoft.TeamFoundation.Client 命名空间