ArcGIS Pro 2.8 API Reference Guide
ServiceException Constructor(String,Exception)

ArcGIS.Core.Data Namespace > ServiceException Class > ServiceException Constructor : ServiceException Constructor(String,Exception)
Error message
Inner exception
Creates a new service exception initialized with the input parameters.
Syntax
public ServiceException( 
   string errorMessage,
   Exception innerException
)
Public Function New( _
   ByVal errorMessage As String, _
   ByVal innerException As Exception _
)

Parameters

errorMessage
Error message
innerException
Inner exception
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ServiceException Class
ServiceException Members
Overload List