WebPubSubTriggerAttribute Class
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.
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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| ClientProtocols |
Specifies which client protocol can trigger the Web PubSub trigger functions. By default, it accepts all client protocols. |
| Connection |
Obsolete.
The connection setting names or configuration section names allowed for abuse protection and signature validation. Use Connections instead for multiple connections. If both Connection and Connections are set, Connections takes precedence. |
| Connections |
The connection setting names or configuration section names allowed for abuse protection and signature validation. |
| EventName |
The event of the request. |
| EventType |
The event type, allowed value is system or user. |
| Hub |
The hub of request. |