Share via


HubMethodNameAttribute Constructor

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    methodName As String _
)
'Usage
Dim methodName As String 

Dim instance As New HubMethodNameAttribute(methodName)
public HubMethodNameAttribute(
    string methodName
)
public:
HubMethodNameAttribute(
    String^ methodName
)
new : 
        methodName:string -> HubMethodNameAttribute
public function HubMethodNameAttribute(
    methodName : String
)

Parameters

See Also

Reference

HubMethodNameAttribute Class

Microsoft.AspNet.SignalR.Hubs Namespace