Share via


CertificateTrustConfigurationCallbackAnnotation Constructor

Definition

An annotation that indicates a resource wants to manage how custom certificate trust is configured.

public CertificateTrustConfigurationCallbackAnnotation(Func<Aspire.Hosting.ApplicationModel.CertificateTrustConfigurationCallbackAnnotationContext,System.Threading.Tasks.Task> callback);
new Aspire.Hosting.ApplicationModel.CertificateTrustConfigurationCallbackAnnotation : Func<Aspire.Hosting.ApplicationModel.CertificateTrustConfigurationCallbackAnnotationContext, System.Threading.Tasks.Task> -> Aspire.Hosting.ApplicationModel.CertificateTrustConfigurationCallbackAnnotation
Public Sub New (callback As Func(Of CertificateTrustConfigurationCallbackAnnotationContext, Task))

Parameters

callback
Func<CertificateTrustConfigurationCallbackAnnotationContext,Task>

The callback used to customize certificate trust for the resource.

Applies to