Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / OutOfMemoryException.cs / 1 / OutOfMemoryException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: OutOfMemoryException ** ** ** Purpose: The exception class for OOM. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class OutOfMemoryException : SystemException { public OutOfMemoryException() : base(GetMessageFromNativeResources(ExceptionMessageKind.OutOfMemory)) { SetErrorCode(__HResults.COR_E_OUTOFMEMORY); } public OutOfMemoryException(String message) : base(message) { SetErrorCode(__HResults.COR_E_OUTOFMEMORY); } public OutOfMemoryException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_OUTOFMEMORY); } protected OutOfMemoryException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeLibraryHandle.cs
- DataColumnChangeEvent.cs
- PartialTrustVisibleAssembly.cs
- WindowsListBox.cs
- TransformPatternIdentifiers.cs
- SuppressMessageAttribute.cs
- RawStylusInput.cs
- WMICapabilities.cs
- MultiPageTextView.cs
- ErrorHandler.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XmlProcessingInstruction.cs
- XMLSchema.cs
- OwnerDrawPropertyBag.cs
- SerializationException.cs
- ComplexPropertyEntry.cs
- _UriSyntax.cs
- AttachedPropertyDescriptor.cs
- WebPartMenuStyle.cs
- XslTransform.cs
- TokenBasedSet.cs
- ExpressionVisitor.cs
- InvalidateEvent.cs
- ToolStripSeparator.cs
- DataRowExtensions.cs
- TableLayoutStyle.cs
- DrawingVisualDrawingContext.cs
- CompositeTypefaceMetrics.cs
- BaseValidatorDesigner.cs
- CodeSubDirectory.cs
- ListView.cs
- MessageSecurityProtocolFactory.cs
- TableLayoutStyle.cs
- StringStorage.cs
- TypeResolvingOptions.cs
- WhitespaceRuleLookup.cs
- PseudoWebRequest.cs
- HandleCollector.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- XmlStreamStore.cs
- PreviewPageInfo.cs
- SafeRightsManagementQueryHandle.cs
- SamlDoNotCacheCondition.cs
- TextBoxBase.cs
- XmlDigitalSignatureProcessor.cs
- WebPartZoneBase.cs
- ClientSettings.cs
- CodeIdentifiers.cs
- XPathBuilder.cs
- MessageBox.cs
- TransformBlockRequest.cs
- DataSourceControl.cs
- PageBuildProvider.cs
- OracleBinary.cs
- ProtocolElement.cs
- SystemResourceKey.cs
- GeneralTransform3DTo2D.cs
- ConnectionOrientedTransportElement.cs
- CorrelationTokenInvalidatedHandler.cs
- ContractType.cs
- TreeViewHitTestInfo.cs
- SafeTimerHandle.cs
- WmiPutTraceRecord.cs
- PartialClassGenerationTask.cs
- InvalidDataException.cs
- ListChangedEventArgs.cs
- UnsafeNetInfoNativeMethods.cs
- JapaneseLunisolarCalendar.cs
- OleDbCommand.cs
- DesignerActionListCollection.cs
- TriggerCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- PresentationSource.cs
- NamespaceMapping.cs
- ColorConvertedBitmap.cs
- IisTraceListener.cs
- CompilationPass2Task.cs
- ImageSource.cs
- HttpInputStream.cs
- UniqueIdentifierService.cs
- SerialErrors.cs
- Region.cs
- Win32PrintDialog.cs
- QueryContinueDragEventArgs.cs
- CopyCodeAction.cs
- OdbcErrorCollection.cs
- LogFlushAsyncResult.cs
- DataGridViewSelectedCellCollection.cs
- FixedSOMGroup.cs
- DataGridViewLinkColumn.cs
- QueryStringParameter.cs
- EdmMember.cs
- RtType.cs
- BooleanToVisibilityConverter.cs
- TextWriter.cs
- Task.cs
- TextServicesLoader.cs
- KerberosSecurityTokenProvider.cs
- TimerElapsedEvenArgs.cs
- TextWriter.cs