AzureWebPubSubExtensions.AddHub Method
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.
Add hub settings
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.AzureWebPubSubHubResource> AddHub (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.AzureWebPubSubResource> builder, string hubName);
static member AddHub : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.AzureWebPubSubResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.AzureWebPubSubHubResource>
<Extension()>
Public Function AddHub (builder As IResourceBuilder(Of AzureWebPubSubResource), hubName As String) As IResourceBuilder(Of AzureWebPubSubHubResource)
Parameters
- builder
- IResourceBuilder<AzureWebPubSubResource>
The builder for the distributed application.
- hubName
- String
The hub name. Hub name is case-insensitive.