Editare

Partajați prin


ServicedComponentException Constructors

Definition

Initializes a new instance of the ServicedComponentException class.

Overloads

ServicedComponentException()

Initializes a new instance of the ServicedComponentException class.

ServicedComponentException(String)

Initializes a new instance of the ServicedComponentException class with a specified error message.

ServicedComponentException(String, Exception)

Initializes a new instance of the ServicedComponentException class.

ServicedComponentException()

Initializes a new instance of the ServicedComponentException class.

public:
 ServicedComponentException();
public ServicedComponentException ();
Public Sub New ()

Applies to

ServicedComponentException(String)

Initializes a new instance of the ServicedComponentException class with a specified error message.

public:
 ServicedComponentException(System::String ^ message);
public ServicedComponentException (string message);
new System.EnterpriseServices.ServicedComponentException : string -> System.EnterpriseServices.ServicedComponentException
Public Sub New (message As String)

Parameters

message
String

The message displayed to the client when the exception is thrown.

Applies to

ServicedComponentException(String, Exception)

Initializes a new instance of the ServicedComponentException class.

public:
 ServicedComponentException(System::String ^ message, Exception ^ innerException);
public ServicedComponentException (string message, Exception innerException);
new System.EnterpriseServices.ServicedComponentException : string * Exception -> System.EnterpriseServices.ServicedComponentException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message displayed to the client when the exception is thrown.

innerException
Exception

The InnerException, if any, that threw the current exception.

Applies to