InteractionResult
Classstaticnet10.0
Provides a set of static methods for the
Hosting.InteractionResult`1. namespace Aspire.Hosting;
public static class InteractionResult{ // ...}Methods2
Section titled MethodsCancel(T?)static Creates an
Hosting.InteractionResult`1 indicating a canceled interaction. Ok(T)static Creates a new
Hosting.InteractionResult`1 with the specified result and a flag indicating that the interaction was not canceled.