ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.Exceptions Namespace / ServiceException Class / ServiceException Constructor / ServiceException Constructor(String)
Error message

ServiceException Constructor(String)
Creates a new service exception initialized with the input parameter.
Syntax
public ServiceException( 
   string errorMessage
)

Parameters

errorMessage
Error message
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 3.0 or higher.
See Also