Share via


TeamFoundationVersionControlService.QueryPendingChangesById 方法

根据挂起的更改 ID. 检索挂起的更改列表, 如果挂起的更改无法为给定找到挂起的更改 ID,则在挂起的更改输出数组的对应元素将为空。

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

语法

声明
Public Function QueryPendingChangesById ( _
    requestContext As TeamFoundationRequestContext, _
    pendingChangeIds As Integer(), _
    generateDownloadUrls As Boolean _
) As PendingChange()
public PendingChange[] QueryPendingChangesById(
    TeamFoundationRequestContext requestContext,
    int[] pendingChangeIds,
    bool generateDownloadUrls
)

参数

  • pendingChangeIds
    类型:array<System.Int32[]
    等待更改标识符。
  • generateDownloadUrls
    类型:System.Boolean
    如果为 true,则服务器将包含要求下载文件的信息。仅将此为 true,如果下载使用对象返回的文件。调用会更快并且少带宽,在此参数中的错误 (未指定它) 的超加载的默认值。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Server.PendingChange[]
数组 PendingChanges。

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间