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