Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ListViewGroupConverter.cs
- OracleInfoMessageEventArgs.cs
- SchemaContext.cs
- PathGradientBrush.cs
- LinkButton.cs
- GenericsInstances.cs
- _FixedSizeReader.cs
- ResourceKey.cs
- XamlDebuggerXmlReader.cs
- DataServiceClientException.cs
- LocalValueEnumerator.cs
- SecurityKeyIdentifierClause.cs
- MemoryFailPoint.cs
- InkPresenterAutomationPeer.cs
- XmlArrayItemAttribute.cs
- SchemaContext.cs
- TextParagraphView.cs
- RegularExpressionValidator.cs
- LinkDesigner.cs
- WeakHashtable.cs
- DesignerSerializationManager.cs
- InfoCardPolicy.cs
- PerformanceCounterNameAttribute.cs
- ObjectTokenCategory.cs
- UpdatePanelTrigger.cs
- InOutArgumentConverter.cs
- PermissionSet.cs
- EditCommandColumn.cs
- DescendantBaseQuery.cs
- KnownAssembliesSet.cs
- FixedBufferAttribute.cs
- WebPartConnectionsEventArgs.cs
- DataGridItemAutomationPeer.cs
- GuidelineCollection.cs
- Stylesheet.cs
- InternalBufferManager.cs
- SelectorItemAutomationPeer.cs
- HMACSHA384.cs
- ItemContainerGenerator.cs
- MetadataCacheItem.cs
- EventDriven.cs
- SymDocumentType.cs
- TraversalRequest.cs
- UInt16Converter.cs
- PathFigure.cs
- IssuedTokenClientCredential.cs
- CultureSpecificStringDictionary.cs
- DataSourceXmlSerializationAttribute.cs
- RedBlackList.cs
- SchemaImporter.cs
- InvalidEnumArgumentException.cs
- SettingsProperty.cs
- TextChange.cs
- QueryContinueDragEventArgs.cs
- TextRange.cs
- SerialStream.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ProcessMonitor.cs
- XmlSchemaValidationException.cs
- DesignerActionListCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- ToolStripProgressBar.cs
- DiscoveryClientDocuments.cs
- UnsafeNativeMethodsCLR.cs
- TextServicesDisplayAttribute.cs
- XmlSchemaCollection.cs
- NestPullup.cs
- ModelItemDictionary.cs
- Imaging.cs
- XXXInfos.cs
- InvariantComparer.cs
- SamlAuthorizationDecisionStatement.cs
- ContainerSelectorGlyph.cs
- ButtonPopupAdapter.cs
- BindingExpressionUncommonField.cs
- StrongNameKeyPair.cs
- HighContrastHelper.cs
- SqlRetyper.cs
- ListViewSelectEventArgs.cs
- TextSelectionHighlightLayer.cs
- DataGridViewComboBoxColumn.cs
- ListItemCollection.cs
- UnsafePeerToPeerMethods.cs
- WeakReference.cs
- CodeCastExpression.cs
- FlowLayoutSettings.cs
- BitmapImage.cs
- InkPresenterAutomationPeer.cs
- WhitespaceRuleReader.cs
- ComContractElementCollection.cs
- SBCSCodePageEncoding.cs
- TranslateTransform3D.cs
- HttpWebResponse.cs
- MetadataPropertyvalue.cs
- panel.cs
- CodeAccessPermission.cs
- OutOfProcStateClientManager.cs
- PolyBezierSegment.cs
- SqlHelper.cs
- GroupItemAutomationPeer.cs