FrameworkProfileHttpClient.SetAttributeAsync Method (Guid, ProfileAttribute, Object)
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function SetAttributeAsync ( _
id As Guid, _
attribute As ProfileAttribute, _
userState As Object _
) As Task(Of Integer)
public virtual Task<int> SetAttributeAsync(
Guid id,
ProfileAttribute attribute,
Object userState
)
public:
virtual Task<int>^ SetAttributeAsync(
Guid id,
ProfileAttribute^ attribute,
Object^ userState
)
abstract SetAttributeAsync :
id:Guid *
attribute:ProfileAttribute *
userState:Object -> Task<int>
override SetAttributeAsync :
id:Guid *
attribute:ProfileAttribute *
userState:Object -> Task<int>
public function SetAttributeAsync(
id : Guid,
attribute : ProfileAttribute,
userState : Object
) : Task<int>
Parameters
- id
Type: System.Guid
- attribute
Type: Microsoft.VisualStudio.Services.Profile.ProfileAttribute
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Int32>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.