ServerlessHub<T> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServerlessHub<T>() |
Initializes an instance of serverless hub and let the SignalR extension to handle the intialization job. Please use this constructor in your functions production codes. |
ServerlessHub<T>(ServiceHubContext<T>) |
Initializes an instance of serverless hub. This constructor is ususally used in test codes. |
ServerlessHub<T>()
- Source:
- ServerlessHubOfT.cs
Initializes an instance of serverless hub and let the SignalR extension to handle the intialization job. Please use this constructor in your functions production codes.
protected ServerlessHub ();
Protected Sub New ()
Applies to
ServerlessHub<T>(ServiceHubContext<T>)
- Source:
- ServerlessHubOfT.cs
Initializes an instance of serverless hub. This constructor is ususally used in test codes.
protected ServerlessHub (Microsoft.Azure.SignalR.Management.ServiceHubContext<T> serviceHubContext);
new Microsoft.Azure.WebJobs.Extensions.SignalRService.ServerlessHub<'T (requires 'T : null)> : Microsoft.Azure.SignalR.Management.ServiceHubContext<'T (requires 'T : null)> -> Microsoft.Azure.WebJobs.Extensions.SignalRService.ServerlessHub<'T (requires 'T : null)>
Protected Sub New (serviceHubContext As ServiceHubContext(Of T))
Parameters
- serviceHubContext
- Microsoft.Azure.SignalR.Management.ServiceHubContext<T>
Injects a service hub context.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for