WebPubSubAction.CreateGrantPermissionAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of GrantPermissionAction for output binding.
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
Parameters
- connectionId
- String
Target connectionId.
- permission
- WebPubSubPermission
Target permission.
- targetName
- String
Target name.
Returns
An instance of GrantPermissionAction.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET