共用方式為


AccountHttpClient.CreateAccountAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Account.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Threading.Tasks.Task<Account>

.NET Framework 安全性

請參閱

參考

AccountHttpClient 類別

Microsoft.VisualStudio.Services.Account.Client 命名空間