Share via


HubInvocationContext Klasse

Definition

Kontext für einen Hubaufruf.

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

Konstruktoren

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

Instanziiert eine neue Instanz der HubInvocationContext-Klasse.

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

Instanziiert eine neue Instanz der HubInvocationContext-Klasse.

Eigenschaften

Context

Ruft den Kontext für die aktive Hubverbindung und den Aufrufer ab.

Hub

Ruft den Hub-instance ab.

HubMethod

Die MethodInfo für die hub-Methode, die aufgerufen wird.

HubMethodArguments

Ruft die vom Client bereitgestellten Argumente ab.

HubMethodName

Ruft den Namen der aufgerufenen Hub-Methode ab.

ServiceProvider

Die IServiceProvider spezifische für den Bereich dieses Hub-Methodenaufrufs.

Gilt für: