Class ServiceRegistrationException
Thrown when registration of a service fails.
public class ServiceRegistrationException : Exception
- Inheritance
-
objectExceptionServiceRegistrationException
- Extension Methods
Constructors
ServiceRegistrationException()
Initializes a new instance of the ServiceRegistrationException class with default values.
public ServiceRegistrationException()
ServiceRegistrationException(string)
Initializes a new instance of the ServiceRegistrationException class with a specified error message.
public ServiceRegistrationException(string message)
Parameters
message
stringThe message that describes the error.
ServiceRegistrationException(string, Exception)
Initializes a new instance of the ServiceRegistrationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ServiceRegistrationException(string message, Exception inner)
Parameters
message
stringThe message that describes the error.
inner
ExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.