HubMethodNameAttribute 類別

定義

自訂中樞方法的名稱。

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
繼承
HubMethodNameAttribute
屬性

建構函式

HubMethodNameAttribute(String)

初始化 HubMethodNameAttribute 類別的新執行個體。

屬性

Name

中樞方法的自訂名稱。

適用於