Share via


WebPubSubTriggerAttribute Class

Definition

Attribute used to bind a parameter to an Azure Web PubSub when a Web PubSub request is coming.

[Microsoft.Azure.WebJobs.Description.Binding(TriggerHandlesReturnValue=true)]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class WebPubSubTriggerAttribute : Attribute
[<Microsoft.Azure.WebJobs.Description.Binding(TriggerHandlesReturnValue=true)>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type WebPubSubTriggerAttribute = class
    inherit Attribute
Public Class WebPubSubTriggerAttribute
Inherits Attribute
Inheritance
WebPubSubTriggerAttribute
Attributes
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute

Constructors

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(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(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.

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