Skip to content
Docs Try Aspire

DistributedApplicationException Constructors

Class Constructors 3 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)
{
// ...
}
}
message string The error message that explains the reason for the 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)
{
// ...
}
}
message string The error message that explains the reason for the exception.
inner Exception The exception that caused the current exception.