Udostępnij za pośrednictwem


DistributedApplicationException Constructors

Definition

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 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.

DistributedApplicationException()

Source:
DistributedApplicationException.cs
Source:
DistributedApplicationException.cs

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)

Source:
DistributedApplicationException.cs
Source:
DistributedApplicationException.cs

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)

Source:
DistributedApplicationException.cs
Source:
DistributedApplicationException.cs

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.

Applies to