VersionControlServer.GetPendingChange 方法 (Int32)
注意:此 API 现在已过时。
从储存库获取 PendingChange 对象,具有指定的 ID 的 .
命名空间: Microsoft.TeamFoundation.VersionControl.Client
程序集: Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
语法
声明
<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
)
参数
- pendingChangeId
类型:System.Int32
PendingChange ID。
返回值
类型:Microsoft.TeamFoundation.VersionControl.Client.PendingChange
与指定的 ID. 的 PendingChange否则为 null。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。