SignalRTriggerAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute used to mark a function that should be triggered by messages sent from SignalR clients.
[Microsoft.Azure.WebJobs.Description.Binding(TriggerHandlesReturnValue=true)]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class SignalRTriggerAttribute : Attribute
[<Microsoft.Azure.WebJobs.Description.Binding(TriggerHandlesReturnValue=true)>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type SignalRTriggerAttribute = class
inherit Attribute
Public Class SignalRTriggerAttribute
Inherits Attribute
- Inheritance
-
SignalRTriggerAttribute
- Attributes
-
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute
Constructors
SignalRTriggerAttribute() |
Initializes a new instance of the SignalRTriggerAttribute class. |
SignalRTriggerAttribute(String, String, String, String[]) |
Initializes a new instance of the SignalRTriggerAttribute class. |
SignalRTriggerAttribute(String, String, String) |
Initializes a new instance of the SignalRTriggerAttribute class. |
Properties
Category |
Two optional value: connections and messages |
ConnectionStringSetting |
Connection string that connect to Azure SignalR Service |
Event |
The event of the request. |
HubName |
The hub of request belongs to. |
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
Azure SDK for .NET