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
- 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.