ServiceRemoteException 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
ServiceRemoteException() |
Initializes a new instance of the ServiceRemoteException class. |
ServiceRemoteException(String) |
Initializes a new instance of the ServiceRemoteException class with an error message. |
ServiceRemoteException(String, Exception) |
Initializes a new instance of the ServiceRemoteException class with an error message and an inner exception. |
ServiceRemoteException()
Initializes a new instance of the ServiceRemoteException class.
public:
ServiceRemoteException();
public ServiceRemoteException ();
Public Sub New ()
Applies to
ServiceRemoteException(String)
Initializes a new instance of the ServiceRemoteException class with an error message.
public:
ServiceRemoteException(System::String ^ message);
public ServiceRemoteException (string message);
Public Sub New (message As String)
Parameters
- message
- String
The error message text.
Applies to
ServiceRemoteException(String, Exception)
Initializes a new instance of the ServiceRemoteException class with an error message and an inner exception.
public:
ServiceRemoteException(System::String ^ message, Exception ^ innerException);
public ServiceRemoteException (string message, Exception innerException);
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message text.
- innerException
- Exception
The inner exception.