Share via


VssHttpClientBase.PatchAsync<T, TResult> Method (T, 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 PatchAsync(Of T, TResult) ( _
    value As T, _
    locationId As Guid, _
    routeValues As Object, _
    version As ApiResourceVersion, _
    queryParameters As NameValueCollection, _
    userState As Object _
) As Task(Of TResult)
protected Task<TResult> PatchAsync<T, TResult>(
    T value,
    Guid locationId,
    Object routeValues,
    ApiResourceVersion version,
    NameValueCollection queryParameters,
    Object userState
)
protected:
generic<typename T, typename TResult>
Task<TResult>^ PatchAsync(
    T value, 
    Guid locationId, 
    Object^ routeValues, 
    ApiResourceVersion^ version, 
    NameValueCollection^ queryParameters, 
    Object^ userState
)
member PatchAsync : 
        value:'T * 
        locationId:Guid * 
        routeValues:Object * 
        version:ApiResourceVersion * 
        queryParameters:NameValueCollection * 
        userState:Object -> Task<'TResult> 
JScript does not support generic types or methods.

Type Parameters

  • T
  • TResult

Parameters

  • value
    Type: T

Return Value

Type: System.Threading.Tasks.Task<TResult>

.NET Framework Security

See Also

Reference

VssHttpClientBase Class

PatchAsync Overload

Microsoft.VisualStudio.Services.WebApi Namespace