Partager via


WebPubSubAction.CreateGrantPermissionAction Méthode

Définition

Crée une instance de pour la liaison de GrantPermissionAction sortie.

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

Paramètres

connectionId
String

Id de connexion cible.

permission
WebPubSubPermission

Autorisation cible.

targetName
String

Nom de la cible.

Retours

Instance de GrantPermissionAction.

S’applique à