语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

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

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