Partager via


MethodDescriptor.Invoker Property

.NET Framework 4

Method invocation delegate. Takes a target hub and an array of invocation arguments as it's arguments.

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

Syntax

'Declaration
Public Overridable Property Invoker As Func(Of IHub, Object(), Object)
    Get 
    Set
'Usage
Dim instance As MethodDescriptor 
Dim value As Func(Of IHub, Object(), Object)

value = instance.Invoker

instance.Invoker = value
public virtual Func<IHub, Object[], Object> Invoker { get; set; }
public:
virtual property Func<IHub^, array<Object^>^, Object^>^ Invoker {
    Func<IHub^, array<Object^>^, Object^>^ get ();
    void set (Func<IHub^, array<Object^>^, Object^>^ value);
}
abstract Invoker : Func<IHub, Object[], Object> with get, set 
override Invoker : Func<IHub, Object[], Object> with get, set
function get Invoker () : Func<IHub, Object[], Object>
function set Invoker (value : Func<IHub, Object[], Object>)

Property Value

Type: System.Func<IHub, Object[], Object>
Returns Func<T1, T2, TResult>.

See Also

Reference

MethodDescriptor Class

Microsoft.AspNet.SignalR.Hubs Namespace