WebPubSubContextAttribute Class

Definition

Attribute used to bind a parameter to an Azure Web PubSub service protocol with HttpTrigger.

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

Constructors

Name Description
WebPubSubContextAttribute()

Constructor to build the attribute.

WebPubSubContextAttribute(String[])

Constructor to build the attribute.

Properties

Name Description
Connection
Obsolete.

The connection setting name or configuration section name 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.

Applies to