共用方式為


AzureSignalRResource Constructors

Definition

Overloads

AzureSignalRResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure SignalR resource.

AzureSignalRResource(String, Action<ResourceModuleConstruct>)

Represents an Azure SignalR resource.

AzureSignalRResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureSignalRResource.cs

Represents an Azure SignalR resource.

public AzureSignalRResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.ApplicationModel.AzureSignalRResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.ApplicationModel.AzureSignalRResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to

AzureSignalRResource(String, Action<ResourceModuleConstruct>)

Source:
AzureSignalRResource.cs

Represents an Azure SignalR resource.

public AzureSignalRResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.ApplicationModel.AzureSignalRResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.ApplicationModel.AzureSignalRResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource.

configureConstruct
Action<ResourceModuleConstruct>

Callback to populate the construct with Azure resources.

Applies to