ContainerRuntimeArgsCallbackAnnotation Constructors
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.
Overloads
ContainerRuntimeArgsCallbackAnnotation(Action<IList<Object>>) |
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. |
ContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext,Task>) |
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action. |
ContainerRuntimeArgsCallbackAnnotation(Action<IList<Object>>)
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.
public ContainerRuntimeArgsCallbackAnnotation (Action<System.Collections.Generic.IList<object>> callback);
new Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation : Action<System.Collections.Generic.IList<obj>> -> Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation
Public Sub New (callback As Action(Of IList(Of Object)))
Parameters
Applies to
ContainerRuntimeArgsCallbackAnnotation(Func<ContainerRuntimeArgsCallbackContext,Task>)
Initializes a new instance of the ContainerRuntimeArgsCallbackAnnotation class with the specified callback action.
public ContainerRuntimeArgsCallbackAnnotation (Func<Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackAnnotation
Public Sub New (callback As Func(Of ContainerRuntimeArgsCallbackContext, Task))
Parameters
- callback
- Func<ContainerRuntimeArgsCallbackContext,Task>
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