Partager via


AccountHttpClient.AddUserToAccountAsync Method

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

Syntax

'Declaration
Public Function AddUserToAccountAsync ( _
    accountUser As AccountUser, _
    userState As Object _
) As Task(Of HttpResponseMessage)
public Task<HttpResponseMessage> AddUserToAccountAsync(
    AccountUser accountUser,
    Object userState
)
public:
Task<HttpResponseMessage^>^ AddUserToAccountAsync(
    AccountUser^ accountUser, 
    Object^ userState
)
member AddUserToAccountAsync : 
        accountUser:AccountUser * 
        userState:Object -> Task<HttpResponseMessage> 
public function AddUserToAccountAsync(
    accountUser : AccountUser, 
    userState : Object
) : Task<HttpResponseMessage>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

AccountHttpClient Class

Microsoft.VisualStudio.Services.Account.Client Namespace