GitHttpClient.GetRepositoriesAsync Method
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Function GetRepositoriesAsync ( _
userState As Object _
) As Task(Of GitRepositoriesCollection)
public Task<GitRepositoriesCollection> GetRepositoriesAsync(
Object userState
)
public:
Task<GitRepositoriesCollection^>^ GetRepositoriesAsync(
Object^ userState
)
member GetRepositoriesAsync :
userState:Object -> Task<GitRepositoriesCollection>
public function GetRepositoriesAsync(
userState : Object
) : Task<GitRepositoriesCollection>
Parameters
- 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.