Delen via


ProfileHttpClient.GetAttributeAsync Method (AttributeDescriptor, Object)

Namespace:  Microsoft.VisualStudio.Services.Profile.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Overridable Function GetAttributeAsync ( _
    descriptor As AttributeDescriptor, _
    userState As Object _
) As Task(Of ProfileAttribute)
public virtual Task<ProfileAttribute> GetAttributeAsync(
    AttributeDescriptor descriptor,
    Object userState
)
public:
virtual Task<ProfileAttribute^>^ GetAttributeAsync(
    AttributeDescriptor^ descriptor, 
    Object^ userState
)
abstract GetAttributeAsync : 
        descriptor:AttributeDescriptor * 
        userState:Object -> Task<ProfileAttribute> 
override GetAttributeAsync : 
        descriptor:AttributeDescriptor * 
        userState:Object -> Task<ProfileAttribute> 
public function GetAttributeAsync(
    descriptor : AttributeDescriptor, 
    userState : Object
) : Task<ProfileAttribute>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClient Class

GetAttributeAsync Overload

Microsoft.VisualStudio.Services.Profile.Client Namespace