MethodDescriptor Class

.NET Framework 4.5

Represents the information about a single hub method.

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

public ref class MethodDescriptor : public Descriptor

The MethodDescriptor type exposes the following members.

  NameDescription
Public methodMethodDescriptorInitializes a new instance of the MethodDescriptor class.
Top

  NameDescription
Public propertyAttributesGets or sets the attributes attached to this method.
Public propertyHubGets the hub descriptor object, target to this method.
Public propertyInvokerGets or sets the method invocation delegate. Takes a target hub and an array of invocation arguments as it's arguments.
Public propertyNameGets or sets the hub name. (Inherited from Descriptor.)
Public propertyNameSpecifiedGets or set a value that indicates whether a hub attribute name is specified. (Inherited from Descriptor.)
Public propertyParametersGets or sets the available method parameters.
Public propertyReturnTypeGets or sets the return type of this method.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodMatchesSpecifies whether a method extension matches another method descriptor. (Defined by MethodExtensions.)
Top

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