Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / OutOfMemoryException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected OutOfMemoryException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TimeZone.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- ContentFilePart.cs
- UrlPath.cs
- ConfigurationFileMap.cs
- AuthenticationException.cs
- WebHostedComPlusServiceHost.cs
- SQLByte.cs
- OrderedDictionary.cs
- KeyBinding.cs
- SafeMILHandle.cs
- CodeSubDirectoriesCollection.cs
- SoapReflectionImporter.cs
- XmlSerializerOperationBehavior.cs
- CatalogZone.cs
- KeyInfo.cs
- BasicViewGenerator.cs
- _AcceptOverlappedAsyncResult.cs
- MimeFormatter.cs
- AttachedPropertyBrowsableAttribute.cs
- FilterableAttribute.cs
- DataGridViewLinkCell.cs
- GenericsInstances.cs
- SignedXml.cs
- LinearKeyFrames.cs
- FloatUtil.cs
- RegexMatchCollection.cs
- SafeLocalMemHandle.cs
- InternalResources.cs
- GlobalizationAssembly.cs
- MergeFailedEvent.cs
- KeyGesture.cs
- StaticFileHandler.cs
- SequenceDesignerAccessibleObject.cs
- RegexCompiler.cs
- ProtocolsSection.cs
- HwndSubclass.cs
- GlyphingCache.cs
- InstanceDataCollectionCollection.cs
- ApplicationHost.cs
- FlowDocumentPaginator.cs
- MenuItem.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ProgressiveCrcCalculatingStream.cs
- DocumentOrderQuery.cs
- Ops.cs
- DesignSurfaceManager.cs
- HuffmanTree.cs
- DataGridViewTopLeftHeaderCell.cs
- ItemCollection.cs
- CqlIdentifiers.cs
- EditorPartChrome.cs
- PersianCalendar.cs
- UInt64Converter.cs
- ConfigurationErrorsException.cs
- GlyphElement.cs
- HtmlSelect.cs
- HierarchicalDataSourceIDConverter.cs
- SafeNativeMethods.cs
- BooleanConverter.cs
- WebDisplayNameAttribute.cs
- TimeoutException.cs
- ObjectTag.cs
- DataControlHelper.cs
- METAHEADER.cs
- SerializationTrace.cs
- WebBaseEventKeyComparer.cs
- TextComposition.cs
- TransformCollection.cs
- FrameSecurityDescriptor.cs
- TripleDES.cs
- _Events.cs
- ErrorWebPart.cs
- DataGridViewRow.cs
- XmlTypeAttribute.cs
- IsolatedStoragePermission.cs
- StringSorter.cs
- MatrixStack.cs
- LayoutEditorPart.cs
- GifBitmapEncoder.cs
- DataColumnChangeEvent.cs
- TypeListConverter.cs
- ImageInfo.cs
- QilXmlReader.cs
- GregorianCalendarHelper.cs
- SqlConnectionFactory.cs
- ServicePoint.cs
- CookielessHelper.cs
- ToolStripLabel.cs
- XamlUtilities.cs
- ColorPalette.cs
- IntranetCredentialPolicy.cs
- Menu.cs
- GridEntry.cs
- ADMembershipProvider.cs
- MonthCalendar.cs
- NumberFunctions.cs
- SchemaObjectWriter.cs
- ActiveDocumentEvent.cs
- Soap.cs