Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

InteractionService.IsAvailable

Method
📦 Aspire.Hosting v17.0.0
type InteractionService interface {
// ... omitted for brevity
IsAvailable() (bool, error)
}

Signature

methodIsAvailable
Gets a value indicating whether the interaction service is available to prompt the user.
IsAvailable() (bool, error)
(bool, error)

true when the service can prompt the user; otherwise false.

Returns (bool, error).

Defined on

This method is defined on the following type: