你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebPubSubServiceClient.AddConnectionsToGroupsAsync Method

Definition

Add filtered connections to multiple groups.

public virtual System.Threading.Tasks.Task<Azure.Response> AddConnectionsToGroupsAsync(System.Collections.Generic.IEnumerable<string> groups, string filter, Azure.RequestContext context = default);
abstract member AddConnectionsToGroupsAsync : seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AddConnectionsToGroupsAsync : seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AddConnectionsToGroupsAsync (groups As IEnumerable(Of String), filter As String, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

groups
IEnumerable<String>

A list of groups which target connections will be added into.

filter
String

An OData filter which target connections satisfy.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

A Response if successful.

Applies to