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.
Applies to
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