共用方式為


FrameworkProfileHttpClient.UnconditionalSetAttributeAsync Method

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable Function UnconditionalSetAttributeAsync ( _
    id As Guid, _
    attribute As ProfileAttribute, _
    userState As Object _
) As Task(Of Integer)
public virtual Task<int> UnconditionalSetAttributeAsync(
    Guid id,
    ProfileAttribute attribute,
    Object userState
)
public:
virtual Task<int>^ UnconditionalSetAttributeAsync(
    Guid id, 
    ProfileAttribute^ attribute, 
    Object^ userState
)
abstract UnconditionalSetAttributeAsync : 
        id:Guid * 
        attribute:ProfileAttribute * 
        userState:Object -> Task<int> 
override UnconditionalSetAttributeAsync : 
        id:Guid * 
        attribute:ProfileAttribute * 
        userState:Object -> Task<int> 
public function UnconditionalSetAttributeAsync(
    id : Guid, 
    attribute : ProfileAttribute, 
    userState : Object
) : Task<int>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

Microsoft.VisualStudio.Services.Profile Namespace