Condividi tramite


WebPubSubTriggerAttribute Class

Definition

Binds to WebPubSubEventRequest to mark a function that should be triggered by messages sent from Web PubSub clients.

public sealed class WebPubSubTriggerAttribute : Microsoft.Azure.Functions.Worker.Extensions.Abstractions.TriggerBindingAttribute
type WebPubSubTriggerAttribute = class
    inherit TriggerBindingAttribute
Public NotInheritable Class WebPubSubTriggerAttribute
Inherits TriggerBindingAttribute
Inheritance
Microsoft.Azure.Functions.Worker.Extensions.Abstractions.TriggerBindingAttribute
WebPubSubTriggerAttribute

Constructors

WebPubSubTriggerAttribute(String, WebPubSubEventType, String, String[])

Attribute used to bind a parameter to an Azure Web PubSub, when an request is from Azure Web PubSub service.

WebPubSubTriggerAttribute(String, WebPubSubEventType, String)

Attribute used to bind a parameter to an Azure Web PubSub, when an request is from Azure Web PubSub service.

WebPubSubTriggerAttribute(WebPubSubEventType, String, String[])

Attribute used to bind a parameter to an Azure Web PubSub, when an request is from Azure Web PubSub service.

WebPubSubTriggerAttribute(WebPubSubEventType, String)

Attribute used to bind a parameter to an Azure Web PubSub, when an request is from Azure Web PubSub service.

Properties

Connections

Allowed service upstream ConnectionString for Signature checks.

EventName

The event of the request.

EventType

The event type, allowed value is system or user.

Hub

The hub of request.

Applies to