Initializes a new instance of the exception with a specified error message.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public ServiceNotFoundException( string message )
Public Sub New ( _ message As String _ )
public: ServiceNotFoundException( String^ message )
public ServiceNotFoundException( String message )
Parameters
- message (String)
- A message that describes the error.