HubInvocationContext Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
HubInvocationContext(HubCallerContext, String, Object[]) |
Geçersiz.
HubInvocationContext sınıfının yeni bir örneğini başlatır. |
HubInvocationContext(HubCallerContext, IServiceProvider, Hub, MethodInfo, IReadOnlyList<Object>) |
HubInvocationContext sınıfının yeni bir örneğini başlatır. |
HubInvocationContext(HubCallerContext, String, Object[])
Dikkat
This constructor is obsolete and will be removed in a future version. The recommended alternative is to use the other constructor.
HubInvocationContext sınıfının yeni bir örneğini başlatır.
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())
Parametreler
- context
- HubCallerContext
Etkin Hub bağlantısı ve çağıranın bağlamı.
- hubMethodName
- String
Çağrılan Hub yönteminin adı.
- hubMethodArguments
- Object[]
İstemci tarafından sağlanan bağımsız değişkenler.
- Öznitelikler
Şunlara uygulanır
HubInvocationContext(HubCallerContext, IServiceProvider, Hub, MethodInfo, IReadOnlyList<Object>)
- Kaynak:
- HubInvocationContext.cs
HubInvocationContext sınıfının yeni bir örneğini başlatır.
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))
Parametreler
- context
- HubCallerContext
Etkin Hub bağlantısı ve çağıranın bağlamı.
- serviceProvider
- IServiceProvider
IServiceProvider Bu Hub yöntemi çağırmanın kapsamına özgü.
- hub
- Hub
Hub örneği.
- hubMethod
- MethodInfo
MethodInfo Çağrılan Hub yöntemi için.
- hubMethodArguments
- IReadOnlyList<Object>
İstemci tarafından sağlanan bağımsız değişkenler.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin