Code:
/ DotNET / DotNET / 8.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
- NamespaceEmitter.cs
- ExpressionBuilder.cs
- BinaryFormatter.cs
- UnsafeNativeMethods.cs
- UIAgentMonitorHandle.cs
- SendActivity.cs
- SqlDuplicator.cs
- ConfigXmlReader.cs
- StringCollectionMarkupSerializer.cs
- RemoteWebConfigurationHost.cs
- ReceiveContent.cs
- TypeUtil.cs
- Itemizer.cs
- DataGridViewBindingCompleteEventArgs.cs
- ICollection.cs
- GreenMethods.cs
- AutomationPropertyInfo.cs
- SqlCachedBuffer.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- NotificationContext.cs
- Monitor.cs
- TokenBasedSetEnumerator.cs
- UITypeEditor.cs
- SchemaCollectionCompiler.cs
- DynamicDataRouteHandler.cs
- Timer.cs
- GraphicsContainer.cs
- PathStreamGeometryContext.cs
- PixelFormatConverter.cs
- HtmlShim.cs
- SmtpNegotiateAuthenticationModule.cs
- WebPartCatalogCloseVerb.cs
- AttributeCollection.cs
- DataTablePropertyDescriptor.cs
- FocusTracker.cs
- ScriptBehaviorDescriptor.cs
- LinqDataSourceContextEventArgs.cs
- EditBehavior.cs
- DataProtection.cs
- AdornedElementPlaceholder.cs
- CodeArrayIndexerExpression.cs
- XmlSchemaSimpleTypeRestriction.cs
- CollectionViewProxy.cs
- ResourceDefaultValueAttribute.cs
- PersonalizationProvider.cs
- IriParsingElement.cs
- CalendarData.cs
- PropertyRef.cs
- VariableExpressionConverter.cs
- IndexerNameAttribute.cs
- AnimatedTypeHelpers.cs
- QuotedStringWriteStateInfo.cs
- OneOfScalarConst.cs
- FamilyTypefaceCollection.cs
- Utils.cs
- ReferenceCountedObject.cs
- CustomCategoryAttribute.cs
- DbDataReader.cs
- InlinedAggregationOperator.cs
- CachedPathData.cs
- LambdaCompiler.Logical.cs
- XPathDocumentBuilder.cs
- ThreadNeutralSemaphore.cs
- EventProperty.cs
- HttpAsyncResult.cs
- Buffer.cs
- Button.cs
- ImageConverter.cs
- nulltextnavigator.cs
- DataSourceProvider.cs
- SecurityElement.cs
- View.cs
- HttpBrowserCapabilitiesBase.cs
- Rect3D.cs
- ContractNamespaceAttribute.cs
- MemberJoinTreeNode.cs
- EmbeddedObject.cs
- Transform3DCollection.cs
- EntityContainerEmitter.cs
- XmlNamespaceManager.cs
- FreezableDefaultValueFactory.cs
- DecoratedNameAttribute.cs
- IdentitySection.cs
- PrintDialog.cs
- RequestCacheEntry.cs
- JsonFormatReaderGenerator.cs
- FixedElement.cs
- ContainerUIElement3D.cs
- LassoSelectionBehavior.cs
- DrawingState.cs
- XmlSignificantWhitespace.cs
- DataGridViewRowStateChangedEventArgs.cs
- EntityContainerEmitter.cs
- MasterPageParser.cs
- DesignerAdapterAttribute.cs
- ScalarRestriction.cs
- TextSelectionProcessor.cs
- DebugHandleTracker.cs
- ArraySubsetEnumerator.cs
- DesignerSerializerAttribute.cs