Share via


HubMethodNameAttribute(String) Constructor

Definition

Initializes a new instance of HubMethodNameAttribute class.

public:
 HubMethodNameAttribute(System::String ^ name);
public HubMethodNameAttribute (string name);
new Microsoft.AspNetCore.SignalR.HubMethodNameAttribute : string -> Microsoft.AspNetCore.SignalR.HubMethodNameAttribute
Public Sub New (name As String)

Parameters

name
String

The customized name of the hub method.

Applies to