Constructor ServiceException
ServiceException()
Initializes a new instance of the ServiceException class.
Declaration
public ServiceException()
ServiceException(String, Int32)
Creates a ServiceException
Declaration
public ServiceException(string message, int errorNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
System.Int32 | errorNumber | Error number for this exception |
ServiceException(Exception)
Creates a ServiceException
Declaration
public ServiceException(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | Exception information |
ServiceException(ServiceExceptionInternal)
Creates a ServiceException
Declaration
public ServiceException(ServiceExceptionInternal exception)
Parameters
Type | Name | Description |
---|---|---|
ServiceExceptionInternal | exception | Exception information |
ServiceException(String, Int32, Exception)
Creates a ServiceException
Declaration
public ServiceException(string message, int errorNumber, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
System.Int32 | errorNumber | Error number for this exception |
System.Exception | innerException | Inner exception information |
ServiceException(String, Int32, Exception, List<ReferenceObjectContract>)
Creates a ServiceException
Declaration
public ServiceException(string message, int errorNumber, Exception innerException, List<ReferenceObjectContract> referenceObjects)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
System.Int32 | errorNumber | Error number of this exception |
System.Exception | innerException | Inner exception information |
System.Collections.Generic.List<ReferenceObjectContract> | referenceObjects | A list of reference objects |
ServiceException(String, Int32, Exception, List<ReferenceObjectContract>, String)
Creates a ServiceException
Declaration
public ServiceException(string message, int errorNumber, Exception innerException, List<ReferenceObjectContract> referenceObjects, string messageRawText)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Exception message |
System.Int32 | errorNumber | Error number of this exception |
System.Exception | innerException | Inner exception information |
System.Collections.Generic.List<ReferenceObjectContract> | referenceObjects | A list of reference objects |
System.String | messageRawText | Raw exception message |