Skip to content
Docs Try Aspire

DistributedApplicationException

Class net10.0
📦 Aspire.Hosting v13.1.2
Represents an exception that is thrown when a distributed application error occurs.
namespace Aspire.Hosting;
public class DistributedApplicationException
: System.Exception
{
// ...
}
Exception
DistributedApplicationException
Initializes a new instance of the DistributedApplicationException class. This represents an exception that is thrown when a distributed application error occurs.
DistributedApplicationException(string)
Initializes a new instance of the DistributedApplicationException class, given the message. This represents an exception that is thrown when a distributed application error occurs.
DistributedApplicationException(string, Exception)
Initializes a new instance of the DistributedApplicationException class, given the message and inner exception. This represents an exception that is thrown when a distributed application error occurs.
View all constructors