Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BuildIncoming Method

IHubPipelineModule.BuildIncoming Method

.NET Framework 4.5

Wraps a function that invokes a server-side hub method. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in BuildIncoming(Func<IHubIncomingInvokerContext, Task<Object>>) by not executing the invoke parameter.

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

Func<IHubIncomingInvokerContext, Task<Object>> BuildIncoming(
	Func<IHubIncomingInvokerContext, Task<Object>> invoke
)

Parameters

invoke
Type: System.Func<IHubIncomingInvokerContext, Task<Object>>
A function that invokes a server-side hub method.

Return Value

Type: System.Func<IHubIncomingInvokerContext, Task<Object>>
A wrapped function that invokes a server-side hub method.
Show:
© 2015 Microsoft