VersionControlServer.GetPendingChange Method (Int32)
Note: This API is now obsolete.
Gets the PendingChange object from the repository, with the specified ID.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
‘선언
<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")> _
Public Function GetPendingChange ( _
pendingChangeId As Integer _
) As PendingChange
[ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public PendingChange GetPendingChange(
int pendingChangeId
)
[ObsoleteAttribute(L"Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")]
public:
PendingChange^ GetPendingChange(
int pendingChangeId
)
[<ObsoleteAttribute("Method obsolete since TFS 2010. Please use VersionControlServer.QueryPendingSets, VersionControlServer.QueryShelvedChanges or Workspace.GetPendingChanges instead.")>]
member GetPendingChange :
pendingChangeId:int -> PendingChange
public function GetPendingChange(
pendingChangeId : int
) : PendingChange
Parameters
- pendingChangeId
Type: System.Int32
The PendingChange ID.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.PendingChange
The PendingChange that matches the specified ID. Otherwise, null.
.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.