Compartilhar via


WebPubSubAction.CreateGrantPermissionAction Método

Definição

Cria uma instância de para associação de GrantPermissionAction saída.

public static Microsoft.Azure.WebJobs.Extensions.WebPubSub.GrantPermissionAction CreateGrantPermissionAction (string connectionId, Azure.Messaging.WebPubSub.WebPubSubPermission permission, string targetName);
static member CreateGrantPermissionAction : string * Azure.Messaging.WebPubSub.WebPubSubPermission * string -> Microsoft.Azure.WebJobs.Extensions.WebPubSub.GrantPermissionAction
Public Shared Function CreateGrantPermissionAction (connectionId As String, permission As WebPubSubPermission, targetName As String) As GrantPermissionAction

Parâmetros

connectionId
String

ConnectionId de destino.

permission
WebPubSubPermission

Permissão de destino.

targetName
String

Nome do destino.

Retornos

Uma instância de GrantPermissionAction.

Aplica-se a