ContainerImagePushOptionsCallbackAnnotation Constructors
ClassConstructors2 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
callbackAction<ContainerImagePushOptionsCallbackContext>The synchronous callback to configure push options.Exceptions
ArgumentNullExceptionThrown 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
callbackFunc<ContainerImagePushOptionsCallbackContext, Task>The asynchronous callback to configure push options.Exceptions
ArgumentNullExceptionThrown when callback is null.