InteractionResult.Ok<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new InteractionResult<T> with the specified result and a flag indicating that the interaction was not canceled.
public static Aspire.Hosting.InteractionResult<T> Ok<T>(T result);
static member Ok : 'T -> Aspire.Hosting.InteractionResult<'T>
Public Shared Function Ok(Of T) (result As T) As InteractionResult(Of T)
Type Parameters
- T
The type of the data associated with the interaction result.
Parameters
- result
- T
The data returned from the interaction.
Returns
The new InteractionResult<T>.