ContainerImagePushOptionsCallbackAnnotation Constructors
Class Constructors 2 members
Represents an annotation that configures container image push options via a callback function.
Constructor(Action<ContainerImagePushOptionsCallbackContext>) Section titled Constructor(Action<ContainerImagePushOptionsCallbackContext>) Initializes a new instance of the
ContainerImagePushOptionsCallbackAnnotation class. public sealed class ContainerImagePushOptionsCallbackAnnotation{ public ContainerImagePushOptionsCallbackAnnotation( Action<ContainerImagePushOptionsCallbackContext> callback) { // ... }}Parameters
callback Action<ContainerImagePushOptionsCallbackContext> The synchronous callback to configure push options. Exceptions
ArgumentNullException Thrown when callback is null. Constructor(Func<ContainerImagePushOptionsCallbackContext, Task>) Section titled Constructor(Func<ContainerImagePushOptionsCallbackContext, Task>) Initializes a new instance of the
ContainerImagePushOptionsCallbackAnnotation class. public sealed class ContainerImagePushOptionsCallbackAnnotation{ public ContainerImagePushOptionsCallbackAnnotation( Func<ContainerImagePushOptionsCallbackContext, Task> callback) { // ... }}Parameters
callback Func<ContainerImagePushOptionsCallbackContext, Task> The asynchronous callback to configure push options. Exceptions
ArgumentNullException Thrown when callback is null.