다음을 통해 공유


HubInvocationContext 생성자

정의

오버로드

HubInvocationContext(HubCallerContext, String, Object[])
사용되지 않음.

HubInvocationContext 클래스의 새 인스턴스를 인스턴스화합니다.

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

HubInvocationContext 클래스의 새 인스턴스를 인스턴스화합니다.

HubInvocationContext(HubCallerContext, String, Object[])

주의

This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other constructor.

HubInvocationContext 클래스의 새 인스턴스를 인스턴스화합니다.

public:
 HubInvocationContext(Microsoft::AspNetCore::SignalR::HubCallerContext ^ context, System::String ^ hubMethodName, cli::array <System::Object ^> ^ hubMethodArguments);
public HubInvocationContext (Microsoft.AspNetCore.SignalR.HubCallerContext context, string hubMethodName, object[] hubMethodArguments);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other constructor.")]
public HubInvocationContext (Microsoft.AspNetCore.SignalR.HubCallerContext context, string hubMethodName, object?[] hubMethodArguments);
new Microsoft.AspNetCore.SignalR.HubInvocationContext : Microsoft.AspNetCore.SignalR.HubCallerContext * string * obj[] -> Microsoft.AspNetCore.SignalR.HubInvocationContext
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other constructor.")>]
new Microsoft.AspNetCore.SignalR.HubInvocationContext : Microsoft.AspNetCore.SignalR.HubCallerContext * string * obj[] -> Microsoft.AspNetCore.SignalR.HubInvocationContext
Public Sub New (context As HubCallerContext, hubMethodName As String, hubMethodArguments As Object())

매개 변수

context
HubCallerContext

활성 허브 연결 및 호출자에 대한 컨텍스트입니다.

hubMethodName
String

호출되는 Hub 메서드의 이름입니다.

hubMethodArguments
Object[]

클라이언트에서 제공하는 인수입니다.

특성

적용 대상

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

HubInvocationContext 클래스의 새 인스턴스를 인스턴스화합니다.

public:
 HubInvocationContext(Microsoft::AspNetCore::SignalR::HubCallerContext ^ context, IServiceProvider ^ serviceProvider, Microsoft::AspNetCore::SignalR::Hub ^ hub, System::Reflection::MethodInfo ^ hubMethod, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ hubMethodArguments);
public HubInvocationContext (Microsoft.AspNetCore.SignalR.HubCallerContext context, IServiceProvider serviceProvider, Microsoft.AspNetCore.SignalR.Hub hub, System.Reflection.MethodInfo hubMethod, System.Collections.Generic.IReadOnlyList<object?> hubMethodArguments);
new Microsoft.AspNetCore.SignalR.HubInvocationContext : Microsoft.AspNetCore.SignalR.HubCallerContext * IServiceProvider * Microsoft.AspNetCore.SignalR.Hub * System.Reflection.MethodInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.SignalR.HubInvocationContext
Public Sub New (context As HubCallerContext, serviceProvider As IServiceProvider, hub As Hub, hubMethod As MethodInfo, hubMethodArguments As IReadOnlyList(Of Object))

매개 변수

context
HubCallerContext

활성 허브 연결 및 호출자에 대한 컨텍스트입니다.

serviceProvider
IServiceProvider

IServiceProvider 이 Hub 메서드 호출의 scope 관련된 입니다.

hub
Hub

허브의 instance.

hubMethod
MethodInfo

MethodInfo 호출되는 Hub 메서드에 대한 입니다.

hubMethodArguments
IReadOnlyList<Object>

클라이언트에서 제공하는 인수입니다.

적용 대상