Dela via


HubMethodNameAttribute Class

Definition

Customizes the name of a hub method.

public ref class HubMethodNameAttribute : Attribute
[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

Constructors

HubMethodNameAttribute(String)

Initializes a new instance of HubMethodNameAttribute class.

Properties

Name

The customized name of the hub method.

Applies to