Skip to content
DocsTry Aspire
DocsTry

DistributedApplicationException Constructors

ClassConstructors3 members
Represents an exception that is thrown when a distributed application error occurs.
Initializes a new instance of the DistributedApplicationException class. This represents an exception that is thrown when a distributed application error occurs.
public class DistributedApplicationException
{
public DistributedApplicationException()
{
// ...
}
}
Initializes a new instance of the DistributedApplicationException class, given the message. This represents an exception that is thrown when a distributed application error occurs.
public class DistributedApplicationException
{
public DistributedApplicationException(
string message)
{
// ...
}
}
messagestringThe error message that explains the reason for the exception.
Constructor(string, Exception)Section titled Constructor(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.
public class DistributedApplicationException
{
public DistributedApplicationException(
string message,
Exception inner)
{
// ...
}
}
messagestringThe error message that explains the reason for the exception.
innerExceptionThe exception that caused the current exception.