Dela via


HubInvocationContext Class

Definition

Context for a Hub invocation.

public ref class HubInvocationContext
public class HubInvocationContext
type HubInvocationContext = class
Public Class HubInvocationContext
Inheritance
HubInvocationContext

Constructors

HubInvocationContext(HubCallerContext, IServiceProvider, Hub, MethodInfo, IReadOnlyList<Object>)

Instantiates a new instance of the HubInvocationContext class.

HubInvocationContext(HubCallerContext, String, Object[])
Obsolete.

Instantiates a new instance of the HubInvocationContext class.

Properties

Context

Gets the context for the active Hub connection and caller.

Hub

Gets the Hub instance.

HubMethod

The MethodInfo for the Hub method being invoked.

HubMethodArguments

Gets the arguments provided by the client.

HubMethodName

Gets the name of the Hub method being invoked.

ServiceProvider

The IServiceProvider specific to the scope of this Hub method invocation.

Applies to