Partager via


AccountHttpClient.CreateAccountAsync Method

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

Syntax

'Declaration
Public Function CreateAccountAsync ( _
    name As String, _
    organization As String, _
    creatorId As Guid, _
    language As CultureInfo, _
    culture As CultureInfo, _
    timeZone As TimeZoneInfo, _
    properties As IDictionary(Of String, Object), _
    userState As Object _
) As Task(Of Account)
public Task<Account> CreateAccountAsync(
    string name,
    string organization,
    Guid creatorId,
    CultureInfo language,
    CultureInfo culture,
    TimeZoneInfo timeZone,
    IDictionary<string, Object> properties,
    Object userState
)
public:
Task<Account^>^ CreateAccountAsync(
    String^ name, 
    String^ organization, 
    Guid creatorId, 
    CultureInfo^ language, 
    CultureInfo^ culture, 
    TimeZoneInfo^ timeZone, 
    IDictionary<String^, Object^>^ properties, 
    Object^ userState
)
member CreateAccountAsync : 
        name:string * 
        organization:string * 
        creatorId:Guid * 
        language:CultureInfo * 
        culture:CultureInfo * 
        timeZone:TimeZoneInfo * 
        properties:IDictionary<string, Object> * 
        userState:Object -> Task<Account> 
public function CreateAccountAsync(
    name : String, 
    organization : String, 
    creatorId : Guid, 
    language : CultureInfo, 
    culture : CultureInfo, 
    timeZone : TimeZoneInfo, 
    properties : IDictionary<String, Object>, 
    userState : Object
) : Task<Account>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

AccountHttpClient Class

Microsoft.VisualStudio.Services.Account.Client Namespace