共用方式為


IdentityHttpClient.AddMemberToGroupAsync 方法 (IdentityDescriptor, Guid, Object)

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

語法

'宣告
Public Function AddMemberToGroupAsync ( _
    containerId As IdentityDescriptor, _
    memberId As Guid, _
    userState As Object _
) As Task(Of Boolean)
public Task<bool> AddMemberToGroupAsync(
    IdentityDescriptor containerId,
    Guid memberId,
    Object userState
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

IdentityHttpClient 類別

AddMemberToGroupAsync 多載

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