Initializes an instance of OutOfMemoryException with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public OutOfMemoryException( string message ); [C++] public: OutOfMemoryException( String* message ); [JScript] public function OutOfMemoryException( message : String );
OutOfMemoryException inherits from the Exception class. This constructor sets the properties of the OutOfMemoryException object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The message string. |
OutOfMemoryException Class | OutOfMemoryException Members | System Namespace | OutOfMemoryException Constructor Overload List