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
- name
Type: System.String
- organization
Type: System.String
- creatorId
Type: System.Guid
- language
Type: System.Globalization.CultureInfo
- culture
Type: System.Globalization.CultureInfo
- timeZone
Type: System.TimeZoneInfo
- properties
Type: System.Collections.Generic.IDictionary<String, Object>
- 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.