Método ProfileHttpClientBase.GetAttributeAsync
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (em Microsoft.VisualStudio.Services.WebApi.dll)
Sintaxe
'Declaração
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
)
Parâmetros
- descriptor
Tipo: Microsoft.VisualStudio.Services.Profile.AttributeDescriptor
- id
Tipo: System.String
- userState
Tipo: System.Object
Valor de retorno
Tipo: System.Threading.Tasks.Task<ProfileAttribute>
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.