Udostępnij za pośrednictwem


WebPubSubConnectionAttribute Class

Definition

Attribute used to bind a parameter to an Azure Web PubSub client negotiate websocket url.

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

Constructors

WebPubSubConnectionAttribute()

Properties

ClientProtocol

The client protocol.

Connection

Target Web PubSub service connection string.

Hub

Target hub name.

UserId

Client userId.

Applies to