Share via


HubMethodNameAttribute Sınıf

Tanım

Hub yönteminin adını özelleştirir.

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
Devralma
HubMethodNameAttribute
Öznitelikler

Oluşturucular

HubMethodNameAttribute(String)

Yeni bir HubMethodNameAttribute sınıfı örneğini başlatır.

Özellikler

Name

Hub yönteminin özelleştirilmiş adı.

Şunlara uygulanır