AccountHttpClient.GetAccountAsync Method
Namespace: Microsoft.VisualStudio.Services.Account.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetAccountAsync ( _
accountId As String, _
propertyNameFilter As IEnumerable(Of String), _
userState As Object _
) As Task(Of Account)
public Task<Account> GetAccountAsync(
string accountId,
IEnumerable<string> propertyNameFilter,
Object userState
)
public:
Task<Account^>^ GetAccountAsync(
String^ accountId,
IEnumerable<String^>^ propertyNameFilter,
Object^ userState
)
member GetAccountAsync :
accountId:string *
propertyNameFilter:IEnumerable<string> *
userState:Object -> Task<Account>
public function GetAccountAsync(
accountId : String,
propertyNameFilter : IEnumerable<String>,
userState : Object
) : Task<Account>
Parameters
- accountId
Type: System.String
- propertyNameFilter
Type: System.Collections.Generic.IEnumerable<String>
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Account>
.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.