共用方式為


SocketIONegotiationAttribute Class

Definition

Attribute used to bind a parameter to an Socket.IO negotiation result.

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

Constructors

SocketIONegotiationAttribute()

Properties

Connection

Target Web PubSub for Socket.IO connection string.

Hub

Target hub name.

UserId

The user id of the connection. It will be available for all sockets sharing the same connection.

Applies to