DeployingCallbackAnnotation(Func<DeployingContext,Task>) 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.
Represents a default deploying callback annotation for a distributed application model.
public DeployingCallbackAnnotation(Func<Aspire.Hosting.ApplicationModel.DeployingContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.DeployingCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.DeployingContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.DeployingCallbackAnnotation
Public Sub New (callback As Func(Of DeployingContext, Task))
Parameters
- callback
- Func<DeployingContext,Task>
The deploying callback.
Remarks
Initializes a new instance of the DeployingCallbackAnnotation class.