GitHttpClient.GetProjectRepositoriesAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetProjectRepositoriesAsync ( _
projectIdentifier As String, _
userState As Object _
) As Task(Of GitRepositoriesCollection)
public Task<GitRepositoriesCollection> GetProjectRepositoriesAsync(
string projectIdentifier,
Object userState
)
public:
Task<GitRepositoriesCollection^>^ GetProjectRepositoriesAsync(
String^ projectIdentifier,
Object^ userState
)
member GetProjectRepositoriesAsync :
projectIdentifier:string *
userState:Object -> Task<GitRepositoriesCollection>
public function GetProjectRepositoriesAsync(
projectIdentifier : String,
userState : Object
) : Task<GitRepositoriesCollection>
Parameters
- projectIdentifier
Type: System.String
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<GitRepositoriesCollection>
.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.