Share via


MethodDescriptor Class

.NET Framework 4

Holds information about a single hub method.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Hubs.Descriptor
    Microsoft.AspNet.SignalR.Hubs.MethodDescriptor

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

Syntax

'Declaration
Public Class MethodDescriptor _
    Inherits Descriptor
'Usage
Dim instance As MethodDescriptor
public class MethodDescriptor : Descriptor
public ref class MethodDescriptor : public Descriptor
type MethodDescriptor =  
    class 
        inherit Descriptor 
    end
public class MethodDescriptor extends Descriptor

The MethodDescriptor type exposes the following members.

Constructors

  Name Description
Public method MethodDescriptor

Top

Properties

  Name Description
Public property Attributes Attributes attached to this method.
Public property Hub Hub descriptor object, target to this method.
Public property Invoker Method invocation delegate. Takes a target hub and an array of invocation arguments as it's arguments.
Public property Name (Inherited from Descriptor.)
Public property NameSpecified (Inherited from Descriptor.)
Public property Parameters Available method parameters.
Public property ReturnType The return type of this method.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Matches (Defined by MethodExtensions.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Hubs Namespace