Skip to content
DocsTry Aspire
DocsTry

CertificateTrustConfigurationCallbackAnnotation Constructors

ClassConstructors1 member
An annotation that indicates a resource wants to manage how custom certificate trust is configured.
Constructor(Func<CertificateTrustConfigurationCallbackAnnotationContext, Task>)Section titled Constructor(Func<CertificateTrustConfigurationCallbackAnnotationContext, Task>)
An annotation that indicates a resource wants to manage how custom certificate trust is configured.
public sealed class CertificateTrustConfigurationCallbackAnnotation
{
public CertificateTrustConfigurationCallbackAnnotation(
Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> callback)
{
// ...
}
}
callbackFunc<CertificateTrustConfigurationCallbackAnnotationContext, Task>The callback used to customize certificate trust for the resource.