다음을 통해 공유


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 네임스페이스