Freigeben über


ProfileHttpClient.SetAttributeAsync-Methode (ProfileAttribute, Object)

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

Syntax

'Declaration
Public Overridable Function SetAttributeAsync ( _
    newAttribute As ProfileAttribute, _
    userState As Object _
) As Task(Of Integer)
public virtual Task<int> SetAttributeAsync(
    ProfileAttribute newAttribute,
    Object userState
)

Parameter

Rückgabewert

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

.NET Framework-Sicherheit

Siehe auch

Referenz

ProfileHttpClient Klasse

SetAttributeAsync-Überladung

Microsoft.VisualStudio.Services.Profile.Client-Namespace