共用方式為


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