Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

IsAvailable

Method
📦 Aspire.Hosting v17.0.0
func (InteractionService) 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).

Applies to

This method applies to the following types: