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
- MsmqAuthenticationMode.cs
- Calendar.cs
- DataGridViewColumnStateChangedEventArgs.cs
- NotImplementedException.cs
- Timeline.cs
- ScopeCollection.cs
- WebServiceResponse.cs
- StateWorkerRequest.cs
- hwndwrapper.cs
- XmlILOptimizerVisitor.cs
- XPathParser.cs
- ServiceProviders.cs
- HtmlAnchor.cs
- RecommendedAsConfigurableAttribute.cs
- HandleExceptionArgs.cs
- SourceFilter.cs
- _PooledStream.cs
- StylusPoint.cs
- Item.cs
- UnsafeNativeMethodsPenimc.cs
- WebPartTransformer.cs
- QilStrConcat.cs
- FontCacheLogic.cs
- TextCompositionManager.cs
- HtmlControl.cs
- TextRangeEdit.cs
- PasswordRecovery.cs
- LoginName.cs
- Registry.cs
- BindingContext.cs
- GridViewRowPresenter.cs
- DataGridViewCellParsingEventArgs.cs
- LayoutSettings.cs
- DataGridViewCellStyleEditor.cs
- TextUtf8RawTextWriter.cs
- NodeLabelEditEvent.cs
- Stroke2.cs
- TableCellCollection.cs
- Italic.cs
- RegexTypeEditor.cs
- FlowDocumentReaderAutomationPeer.cs
- ServiceBuildProvider.cs
- TreeNodeBindingCollection.cs
- ConfigurationPermission.cs
- DataGridCaption.cs
- LoadWorkflowByKeyAsyncResult.cs
- GraphicsPathIterator.cs
- DataContractSerializerOperationGenerator.cs
- InfoCardArgumentException.cs
- TypeRefElement.cs
- CellIdBoolean.cs
- odbcmetadatafactory.cs
- ContextMenuStrip.cs
- PaginationProgressEventArgs.cs
- Attributes.cs
- JsonFormatWriterGenerator.cs
- MetadataUtilsSmi.cs
- ExpressionCopier.cs
- RSAPKCS1SignatureDeformatter.cs
- ScrollBar.cs
- _UriSyntax.cs
- CommandLineParser.cs
- DataKeyArray.cs
- InputLanguage.cs
- DES.cs
- SettingsPropertyValueCollection.cs
- GridViewDeletedEventArgs.cs
- ColumnResult.cs
- PenThreadPool.cs
- DataListItem.cs
- SqlRowUpdatedEvent.cs
- CompositeActivityTypeDescriptor.cs
- OdbcConnectionFactory.cs
- _FtpControlStream.cs
- XpsInterleavingPolicy.cs
- RectangleF.cs
- Trace.cs
- RuntimeHandles.cs
- LiteralControl.cs
- XPathSingletonIterator.cs
- SoapSchemaImporter.cs
- ToolStripOverflowButton.cs
- FSWPathEditor.cs
- CompileLiteralTextParser.cs
- ItemTypeToolStripMenuItem.cs
- BasicExpressionVisitor.cs
- ZipIOExtraFieldPaddingElement.cs
- TraceEventCache.cs
- EntityWrapper.cs
- DCSafeHandle.cs
- SecurityContextTokenValidationException.cs
- ReadOnlyPropertyMetadata.cs
- CodeDomConfigurationHandler.cs
- NotImplementedException.cs
- Speller.cs
- ErrorRuntimeConfig.cs
- NameValuePair.cs
- StringDictionary.cs
- WpfGeneratedKnownProperties.cs
- InternalBase.cs