VssHttpClientBase.GetAsync Method (Guid, Object, ApiResourceVersion, NameValueCollection, Object)
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Function GetAsync ( _
locationId As Guid, _
routeValues As Object, _
version As ApiResourceVersion, _
queryParameters As NameValueCollection, _
userState As Object _
) As Task(Of HttpResponseMessage)
protected Task<HttpResponseMessage> GetAsync(
Guid locationId,
Object routeValues,
ApiResourceVersion version,
NameValueCollection queryParameters,
Object userState
)
protected:
Task<HttpResponseMessage^>^ GetAsync(
Guid locationId,
Object^ routeValues,
ApiResourceVersion^ version,
NameValueCollection^ queryParameters,
Object^ userState
)
member GetAsync :
locationId:Guid *
routeValues:Object *
version:ApiResourceVersion *
queryParameters:NameValueCollection *
userState:Object -> Task<HttpResponseMessage>
protected function GetAsync(
locationId : Guid,
routeValues : Object,
version : ApiResourceVersion,
queryParameters : NameValueCollection,
userState : Object
) : Task<HttpResponseMessage>
Parameters
- locationId
Type: System.Guid
- routeValues
Type: System.Object
- queryParameters
Type: System.Collections.Specialized.NameValueCollection
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
.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.