Share via


ProfileHttpClientBase.SetPropertyAsync Method

Namespace:  Microsoft.VisualStudio.Services.Profile.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Protected Overridable Function SetPropertyAsync ( _
    type As ProfileHttpClientBase.ProfilePropertyType, _
    value As String, _
    id As String, _
    userState As Object _
) As Task(Of Integer)
protected virtual Task<int> SetPropertyAsync(
    ProfileHttpClientBase.ProfilePropertyType type,
    string value,
    string id,
    Object userState
)
protected:
virtual Task<int>^ SetPropertyAsync(
    ProfileHttpClientBase::ProfilePropertyType type, 
    String^ value, 
    String^ id, 
    Object^ userState
)
abstract SetPropertyAsync : 
        type:ProfileHttpClientBase.ProfilePropertyType * 
        value:string * 
        id:string * 
        userState:Object -> Task<int> 
override SetPropertyAsync : 
        type:ProfileHttpClientBase.ProfilePropertyType * 
        value:string * 
        id:string * 
        userState:Object -> Task<int> 
protected function SetPropertyAsync(
    type : ProfileHttpClientBase.ProfilePropertyType, 
    value : String, 
    id : String, 
    userState : Object
) : Task<int>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

Microsoft.VisualStudio.Services.Profile.Client Namespace