共用方式為


InvocationContextExtensions.GetClientsAsync(InvocationContext) Method

Definition

Gets an object that can be used to invoke methods on the clients connected to this hub.

public static System.Threading.Tasks.Task<Microsoft.AspNetCore.SignalR.IHubClients> GetClientsAsync (this Microsoft.Azure.WebJobs.Extensions.SignalRService.InvocationContext invocationContext);
static member GetClientsAsync : Microsoft.Azure.WebJobs.Extensions.SignalRService.InvocationContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.SignalR.IHubClients>
<Extension()>
Public Function GetClientsAsync (invocationContext As InvocationContext) As Task(Of IHubClients)

Parameters

invocationContext
InvocationContext

Returns

Applies to