HubMethodNameAttribute Class
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.
Customizes the name of a hub method.
public ref class HubMethodNameAttribute : Attribute
C#
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class HubMethodNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type HubMethodNameAttribute = class
inherit Attribute
Public Class HubMethodNameAttribute
Inherits Attribute
- Inheritance
-
HubMethodNameAttribute
- Attributes
Hub |
Initializes a new instance of HubMethodNameAttribute class. |
Name |
The customized name of the hub method. |
Product | Versions |
---|---|
ASP.NET Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |