Initializes a new instance of the exception with a specified error message.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public MemoryShortageException( string spaceName, string containerName, string hostName, string message )
Public Sub New ( _ spaceName As String, _ containerName As String, _ hostName As String, _ message As String _ )
public: MemoryShortageException( String^ spaceName, String^ containerName, String^ hostName, String^ message )
public MemoryShortageException( String spaceName, String containerName, String hostName, String message )
Parameters
- spaceName (String)
- The name of the space that caused this exception.
- containerName (String)
- The name of the container that contains the space that caused this exception.
- hostName (String)
- The name of the machine that hosts the space that caused this exception.
- message (String)
- A message that describes the error.