Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates and sets the new ITeamFoundationContext for the Team Explorer window.
Namespace: Microsoft.VisualStudio.Services.Integration
Assembly: Microsoft.VisualStudio.Services.Integration (in Microsoft.VisualStudio.Services.Integration.dll)
Syntax
'Declaration
Public Sub SetContext ( _
teamProjectCollection As TfsTeamProjectCollection, _
projectUri As String, _
teamId As Guid _
)
public void SetContext(
TfsTeamProjectCollection teamProjectCollection,
string projectUri,
Guid teamId
)
public:
virtual void SetContext(
TfsTeamProjectCollection^ teamProjectCollection,
String^ projectUri,
Guid teamId
) sealed
abstract SetContext :
teamProjectCollection:TfsTeamProjectCollection *
projectUri:string *
teamId:Guid -> unit
override SetContext :
teamProjectCollection:TfsTeamProjectCollection *
projectUri:string *
teamId:Guid -> unit
public final function SetContext(
teamProjectCollection : TfsTeamProjectCollection,
projectUri : String,
teamId : Guid
)
Parameters
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe team project collection, can be null.
projectUri
Type: System.StringThe team project fully qualified URI, can be null.
teamId
Type: System.GuidThe ID of the team, can be Guid.Empty.
Implements
ITeamFoundationContextManager.SetContext(TfsTeamProjectCollection, String, Guid)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.