ServicedComponentException 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om