共用方式為


IBuildServer.BeginQueryBuildsByUri Method

Gets the builds that match the given URIs.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function BeginQueryBuildsByUri ( _
    buildUris As Uri(), _
    informationTypes As String(), _
    queryOptions As QueryOptions, _
    queryDeletedOption As QueryDeletedOption, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
IAsyncResult BeginQueryBuildsByUri(
    Uri[] buildUris,
    string[] informationTypes,
    QueryOptions queryOptions,
    QueryDeletedOption queryDeletedOption,
    AsyncCallback callback,
    Object state
)
IAsyncResult^ BeginQueryBuildsByUri(
    array<Uri^>^ buildUris, 
    array<String^>^ informationTypes, 
    QueryOptions queryOptions, 
    QueryDeletedOption queryDeletedOption, 
    AsyncCallback^ callback, 
    Object^ state
)
abstract BeginQueryBuildsByUri : 
        buildUris:Uri[] * 
        informationTypes:string[] * 
        queryOptions:QueryOptions * 
        queryDeletedOption:QueryDeletedOption * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
function BeginQueryBuildsByUri(
    buildUris : Uri[], 
    informationTypes : String[], 
    queryOptions : QueryOptions, 
    queryDeletedOption : QueryDeletedOption, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • informationTypes
    Type: array<System.String[]

    The information types which should be retrieved. Valid types include "*", meaning all types, and the members of Microsoft.TeamFoundation.Build.Common.InformationTypes.

  • callback
    Type: System.AsyncCallback

    The System.AsyncCallback delegate that receives notification that the operation is finished.

  • state
    Type: System.Object

    An object, specified by the caller, that contains state information associated with the asynchronous operation.

Return Value

Type: System.IAsyncResult
The asynchronous operation

.NET Framework Security

See Also

Reference

IBuildServer Interface

Microsoft.TeamFoundation.Build.Client Namespace