HubMethodNameAttribute Class

Definition

Customizes the name of a hub method.

C#
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class HubMethodNameAttribute : Attribute
Inheritance
HubMethodNameAttribute
Attributes

Constructors

HubMethodNameAttribute(String)

Initializes a new instance of HubMethodNameAttribute class.

Properties

Name

The customized name of the hub method.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0