TeamFoundationVersionControlService.QueryPendingChangesById Method
Retrieves a list of pending changes, based on pending change ID. If a pending change cannot be found for a specific pending change ID, then the corresponding element in the pending change output array will be null.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryPendingChangesById ( _
requestContext As TeamFoundationRequestContext, _
pendingChangeIds As Integer(), _
generateDownloadUrls As Boolean _
) As PendingChange()
public PendingChange[] QueryPendingChangesById(
TeamFoundationRequestContext requestContext,
int[] pendingChangeIds,
bool generateDownloadUrls
)
public:
array<PendingChange^>^ QueryPendingChangesById(
TeamFoundationRequestContext^ requestContext,
array<int>^ pendingChangeIds,
bool generateDownloadUrls
)
member QueryPendingChangesById :
requestContext:TeamFoundationRequestContext *
pendingChangeIds:int[] *
generateDownloadUrls:bool -> PendingChange[]
public function QueryPendingChangesById(
requestContext : TeamFoundationRequestContext,
pendingChangeIds : int[],
generateDownloadUrls : boolean
) : PendingChange[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
pendingChangeIds
Type: array<System.Int32[]Pending change identifiers.
generateDownloadUrls
Type: System.BooleanIf true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files that use the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Server.PendingChange[]
Array of PendingChanges.
.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.