Skip to content
Docs Try Aspire

InteractionResult

Class static net10.0
📦 Aspire.Hosting v13.1.2
Provides a set of static methods for the Hosting.InteractionResult`1.
namespace Aspire.Hosting;
public static class InteractionResult
{
// ...
}
Cancel(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.
View all methods