Initializes a new instance of an out of memory error with a given error number
and message.
Syntax
'Declaration
<System.Diagnostics.DebuggerStepThroughAttribute()>
<System.Diagnostics.DebuggerNonUserCodeAttribute()>
Public Function New( _
ByVal As System.Integer, _
ByVal As System.String _
)
'Usage
Dim errorNumber As System.Integer
Dim message As System.String
Dim instance As New OutOfMemoryException(errorNumber, message)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public OutOfMemoryException(
System.int ,
System.string
)
public OutOfMemoryException(
: System.Integer;
: System.String
);
System.Diagnostics.DebuggerStepThroughAttribute()
System.Diagnostics.DebuggerNonUserCodeAttribute()
public function OutOfMemoryException(
: System.int,
: System.String
);
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public: OutOfMemoryException(
System.int ,
System.string*
)
[System.Diagnostics.DebuggerStepThrough()]
[System.Diagnostics.DebuggerNonUserCode()]
public:
OutOfMemoryException(
System.int ,
System.String^
)
Parameters
- errorNumber
- An integer which represents the error number.
- message
- A string which represents the message.
See Also