FrameworkProfileHttpClient.GetAttributeAsync Method (Guid, AttributeDescriptor, Object)
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function GetAttributeAsync ( _
id As Guid, _
descriptor As AttributeDescriptor, _
userState As Object _
) As Task(Of ProfileAttribute)
public virtual Task<ProfileAttribute> GetAttributeAsync(
Guid id,
AttributeDescriptor descriptor,
Object userState
)
public:
virtual Task<ProfileAttribute^>^ GetAttributeAsync(
Guid id,
AttributeDescriptor^ descriptor,
Object^ userState
)
abstract GetAttributeAsync :
id:Guid *
descriptor:AttributeDescriptor *
userState:Object -> Task<ProfileAttribute>
override GetAttributeAsync :
id:Guid *
descriptor:AttributeDescriptor *
userState:Object -> Task<ProfileAttribute>
public function GetAttributeAsync(
id : Guid,
descriptor : AttributeDescriptor,
userState : Object
) : Task<ProfileAttribute>
Parameters
- id
Type: System.Guid
- descriptor
Type: Microsoft.VisualStudio.Services.Profile.AttributeDescriptor
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<ProfileAttribute>
.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.