Udostępnij za pośrednictwem


SocketIOTriggerAttribute Class

Definition

Attribute used to bind a parameter to an Web PubSub for Socket.IO when a request is coming.

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

Constructors

SocketIOTriggerAttribute(String, String, String, String[])

Attribute used to bind a parameter to an Web PubSub for Socket.IO, when an request is from the service.

SocketIOTriggerAttribute(String, String, String)

Attribute used to bind a parameter to an Web PubSub for Socket.IO, when an request is from the service.

SocketIOTriggerAttribute(String, String, String[])

Attribute used to bind a parameter to an Web PubSub for Socket.IO, when an request is from the service.

SocketIOTriggerAttribute(String, String)

Attribute used to bind a parameter to an Web PubSub for Socket.IO, when an request is from the service.

Properties

EventName

The event of the request.

Hub

The hub of request.

Namespace

The namespace

ParameterNames

Used for messages category. All the name defined in ParameterNames will map to Arguments in InvocationMessage by order. And the name can be used in parameters of method directly.

Applies to