Поделиться через


ProfileHttpClient.SetAttributeAsync Method (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
)
public:
virtual Task<int>^ SetAttributeAsync(
    ProfileAttribute^ newAttribute, 
    Object^ userState
)
abstract SetAttributeAsync : 
        newAttribute:ProfileAttribute * 
        userState:Object -> Task<int> 
override SetAttributeAsync : 
        newAttribute:ProfileAttribute * 
        userState:Object -> Task<int> 
public function SetAttributeAsync(
    newAttribute : ProfileAttribute, 
    userState : Object
) : Task<int>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClient Class

SetAttributeAsync Overload

Microsoft.VisualStudio.Services.Profile.Client Namespace