ContainerImagePushOptionsCallbackAnnotation.Callback Property
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.
Gets the callback function that configures image push options.
public Func<Aspire.Hosting.ApplicationModel.ContainerImagePushOptionsCallbackContext,System.Threading.Tasks.Task> Callback { get; }
member this.Callback : Func<Aspire.Hosting.ApplicationModel.ContainerImagePushOptionsCallbackContext, System.Threading.Tasks.Task>
Public ReadOnly Property Callback As Func(Of ContainerImagePushOptionsCallbackContext, Task)
Property Value
An asynchronous function that accepts a ContainerImagePushOptionsCallbackContext and modifies the ContainerImagePushOptions within it. The function is invoked when the image push options need to be resolved for the associated resource.