Share via


WebPubSubAttribute Class

Definition

Attribute used to bind a parameter to an Azure Web PubSub. The attribute supports to invoke multiple kinds of operations to service. For details, WebPubSubAction.

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

Constructors

WebPubSubAttribute()

Properties

Connection

The connection of target Web PubSub service.

Hub

Target hub.

Applies to