共用方式為


SignalRConnectionAttribute Class

Definition

Applies to ServerlessHub<T> to customize the Azure SignalR connection name.

[System.AttributeUsage(System.AttributeTargets.Class)]
public class SignalRConnectionAttribute : Attribute, Microsoft.Azure.WebJobs.IConnectionProvider
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type SignalRConnectionAttribute = class
    inherit Attribute
    interface IConnectionProvider
Public Class SignalRConnectionAttribute
Inherits Attribute
Implements IConnectionProvider
Inheritance
SignalRConnectionAttribute
Attributes
Implements
Microsoft.Azure.WebJobs.IConnectionProvider

Constructors

SignalRConnectionAttribute(String)

Initializes a new instance of the SignalRConnectionAttribute class.

Properties

Connection

Gets or sets the app setting name that contains the Azure SignalR connection.

Applies to