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
- EntityProxyTypeInfo.cs
- Int32Converter.cs
- InheritanceRules.cs
- DeflateEmulationStream.cs
- DetailsViewDeleteEventArgs.cs
- SoapAttributeOverrides.cs
- PropertyChangedEventManager.cs
- SerializableTypeCodeDomSerializer.cs
- httpapplicationstate.cs
- OutputCacheModule.cs
- BackgroundWorker.cs
- MouseActionConverter.cs
- ThemeInfoAttribute.cs
- RewritingValidator.cs
- GestureRecognitionResult.cs
- ReadOnlyState.cs
- SQLString.cs
- SqlClientWrapperSmiStream.cs
- MouseEvent.cs
- ResourceAssociationTypeEnd.cs
- PrintController.cs
- WhitespaceRuleLookup.cs
- WorkflowService.cs
- SubMenuStyleCollection.cs
- FormsAuthenticationUserCollection.cs
- ToolStripContainerDesigner.cs
- HwndProxyElementProvider.cs
- ContainerUtilities.cs
- StringWriter.cs
- Internal.cs
- MsmqOutputMessage.cs
- XPathNodeInfoAtom.cs
- XmlObjectSerializerReadContext.cs
- SpecialNameAttribute.cs
- ToolStripGrip.cs
- CodeArrayIndexerExpression.cs
- DispatcherObject.cs
- LogRestartAreaEnumerator.cs
- ExpressionBuilder.cs
- X509ScopedServiceCertificateElementCollection.cs
- ImageAttributes.cs
- GroupItemAutomationPeer.cs
- coordinator.cs
- Dispatcher.cs
- XmlEventCache.cs
- DesignBindingConverter.cs
- DecoderFallback.cs
- MissingManifestResourceException.cs
- handlecollector.cs
- DrawingGroup.cs
- ParameterCollectionEditorForm.cs
- OLEDB_Util.cs
- ZipIOExtraField.cs
- ScrollBarAutomationPeer.cs
- XmlTextReaderImpl.cs
- DBSqlParserTableCollection.cs
- RemoteWebConfigurationHost.cs
- PackageProperties.cs
- SslStreamSecurityBindingElement.cs
- CharacterString.cs
- Int32CollectionValueSerializer.cs
- DataKey.cs
- ReadOnlyCollection.cs
- DataControlImageButton.cs
- WebBrowserHelper.cs
- PageSetupDialog.cs
- RunClient.cs
- ObjectComplexPropertyMapping.cs
- EntityReference.cs
- HelpKeywordAttribute.cs
- ResourceSetExpression.cs
- BrowsableAttribute.cs
- LinkUtilities.cs
- DesignRelation.cs
- LogEntrySerialization.cs
- TabletDevice.cs
- WebServiceFaultDesigner.cs
- StreamReader.cs
- StorageAssociationSetMapping.cs
- ImageSourceConverter.cs
- LeaseManager.cs
- SerializerWriterEventHandlers.cs
- ListView.cs
- GridViewCellAutomationPeer.cs
- EntityClientCacheKey.cs
- SoapTypeAttribute.cs
- TraceHelpers.cs
- ImageList.cs
- Win32SafeHandles.cs
- SqlNode.cs
- PerspectiveCamera.cs
- TargetFrameworkAttribute.cs
- basecomparevalidator.cs
- SystemResourceKey.cs
- DateTimeConstantAttribute.cs
- COM2IDispatchConverter.cs
- KeyInstance.cs
- Object.cs
- TabItem.cs
- AssemblyHash.cs