你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
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

Name Description
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