DistributedApplicationException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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 |
DistributedApplicationException(String, Exception) |
Initializes a new instance of the DistributedApplicationException class,
given the |
DistributedApplicationException()
Initializes a new instance of the DistributedApplicationException class. This represents an exception that is thrown when a distributed application error occurs.
public DistributedApplicationException ();
Public Sub New ()
Applies to
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.
public DistributedApplicationException (string message);
new Aspire.Hosting.DistributedApplicationException : string -> Aspire.Hosting.DistributedApplicationException
Public Sub New (message As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
Applies to
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.
public DistributedApplicationException (string message, Exception inner);
new Aspire.Hosting.DistributedApplicationException : string * Exception -> Aspire.Hosting.DistributedApplicationException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- inner
- Exception
The exception that caused the current exception.