Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- TableHeaderCell.cs
- WebErrorHandler.cs
- MultipartContentParser.cs
- ManagedWndProcTracker.cs
- TabletCollection.cs
- DependencyPropertyHelper.cs
- MediaContext.cs
- ExternalFile.cs
- ListItemConverter.cs
- BitmapCacheBrush.cs
- InfoCardXmlSerializer.cs
- regiisutil.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- QueuePathDialog.cs
- SafeRightsManagementPubHandle.cs
- DataTableNewRowEvent.cs
- MissingFieldException.cs
- GetImportedCardRequest.cs
- SelectorItemAutomationPeer.cs
- DataSpaceManager.cs
- FrameworkContentElement.cs
- AttributeProviderAttribute.cs
- BinaryParser.cs
- Pen.cs
- StylusButtonEventArgs.cs
- ValidationResult.cs
- NavigationPropertyEmitter.cs
- SqlDelegatedTransaction.cs
- FamilyTypefaceCollection.cs
- ImportContext.cs
- StringAnimationUsingKeyFrames.cs
- SQLBoolean.cs
- Timer.cs
- XLinq.cs
- WinInet.cs
- COM2IDispatchConverter.cs
- SetUserPreferenceRequest.cs
- BrushConverter.cs
- CallContext.cs
- EntitySqlQueryCacheEntry.cs
- DefaultAuthorizationContext.cs
- _HeaderInfo.cs
- ClassHandlersStore.cs
- ShortcutKeysEditor.cs
- FunctionQuery.cs
- BinaryParser.cs
- EncodingDataItem.cs
- XsltSettings.cs
- LocalIdKeyIdentifierClause.cs
- StructuralComparisons.cs
- DataTableReaderListener.cs
- StoreItemCollection.cs
- ParseHttpDate.cs
- versioninfo.cs
- SqlNotificationEventArgs.cs
- RIPEMD160.cs
- RSAOAEPKeyExchangeDeformatter.cs
- InputElement.cs
- SystemFonts.cs
- DecimalFormatter.cs
- SqlDataSourceEnumerator.cs
- SmiEventSink_DeferedProcessing.cs
- WizardPanel.cs
- DataGridItem.cs
- TreeNode.cs
- _ConnectOverlappedAsyncResult.cs
- AssignDesigner.xaml.cs
- RelatedEnd.cs
- KnownBoxes.cs
- IntSecurity.cs
- NameValueCollection.cs
- SuppressMessageAttribute.cs
- DefaultPrintController.cs
- TextParaClient.cs
- EmptyEnumerator.cs
- NullableLongSumAggregationOperator.cs
- OleDbException.cs
- BoolExpr.cs
- Process.cs
- PowerModeChangedEventArgs.cs
- DataSourceCache.cs
- DynamicVirtualDiscoSearcher.cs
- DifferencingCollection.cs
- AssemblyNameProxy.cs
- DoWorkEventArgs.cs
- StandardCommands.cs
- WebUtil.cs
- SelectionRangeConverter.cs
- ColumnWidthChangedEvent.cs
- PartialCachingAttribute.cs
- Journaling.cs
- Table.cs
- DataTableReaderListener.cs
- SRef.cs
- StaticDataManager.cs
- DataTableCollection.cs
- Icon.cs
- DynamicDiscoveryDocument.cs
- CounterSample.cs
- XmlReaderSettings.cs