FrameworkProfileHttpClient.SetAttributeAsync-Methode (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
)
Parameter
- id
Typ: System.Guid
- attribute
Typ: Microsoft.VisualStudio.Services.Profile.ProfileAttribute
- userState
Typ: System.Object
Rückgabewert
Typ: System.Threading.Tasks.Task<Int32>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.