ProfileHttpClientBase.GetAttributeAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Overridable Function GetAttributeAsync ( _
descriptor As AttributeDescriptor, _
id As String, _
userState As Object _
) As Task(Of ProfileAttribute)
protected virtual Task<ProfileAttribute> GetAttributeAsync(
AttributeDescriptor descriptor,
string id,
Object userState
)
protected:
virtual Task<ProfileAttribute^>^ GetAttributeAsync(
AttributeDescriptor^ descriptor,
String^ id,
Object^ userState
)
abstract GetAttributeAsync :
descriptor:AttributeDescriptor *
id:string *
userState:Object -> Task<ProfileAttribute>
override GetAttributeAsync :
descriptor:AttributeDescriptor *
id:string *
userState:Object -> Task<ProfileAttribute>
protected function GetAttributeAsync(
descriptor : AttributeDescriptor,
id : String,
userState : Object
) : Task<ProfileAttribute>
Parameters
- descriptor
Type: Microsoft.VisualStudio.Services.Profile.AttributeDescriptor
- id
Type: System.String
- 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.