RabbitMQServerResource(String, ParameterResource, ParameterResource) Constructor
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.
Initializes a new instance of the RabbitMQServerResource class.
public RabbitMQServerResource (string name, Aspire.Hosting.ApplicationModel.ParameterResource? userName, Aspire.Hosting.ApplicationModel.ParameterResource password);
new Aspire.Hosting.ApplicationModel.RabbitMQServerResource : string * Aspire.Hosting.ApplicationModel.ParameterResource * Aspire.Hosting.ApplicationModel.ParameterResource -> Aspire.Hosting.ApplicationModel.RabbitMQServerResource
Public Sub New (name As String, userName As ParameterResource, password As ParameterResource)
Parameters
- name
- String
The name of the resource.
- userName
- ParameterResource
A parameter that contains the RabbitMQ server user name, or null
to use a default value.
- password
- ParameterResource
A parameter that contains the RabbitMQ server password.