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
)
參數
- name
類型:System.String
- organization
類型:System.String
- creatorId
類型:System.Guid
- language
類型:System.Globalization.CultureInfo
- culture
類型:System.Globalization.CultureInfo
- timeZone
類型:System.TimeZoneInfo
- properties
類型:System.Collections.Generic.IDictionary<String, Object>
- userState
類型:System.Object
傳回值
類型:System.Threading.Tasks.Task<Account>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。