DaprComponentResource(String, String) 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 DaprComponentResource.
public DaprComponentResource (string name, string type);
new Aspire.Hosting.Dapr.DaprComponentResource : string * string -> Aspire.Hosting.Dapr.DaprComponentResource
Public Sub New (name As String, type As String)
Parameters
- name
- String
The resource name.
- type
- String
The Dapr component type. This may be a generic "state" or "pubsub" if Aspire should choose an appropriate type when running or deploying.