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
- ILGenerator.cs
- DynamicMethod.cs
- HttpRawResponse.cs
- SQLByteStorage.cs
- NativeMethods.cs
- ZipIORawDataFileBlock.cs
- Polyline.cs
- RemotingConfigParser.cs
- CaseStatementSlot.cs
- DefaultPrintController.cs
- QueryableFilterUserControl.cs
- DataGridViewRowCollection.cs
- SourceChangedEventArgs.cs
- DataGridViewLinkCell.cs
- odbcmetadatafactory.cs
- LocatorGroup.cs
- ConfigXmlWhitespace.cs
- ButtonBaseAdapter.cs
- FlowLayout.cs
- CellParagraph.cs
- RowSpanVector.cs
- ProcessInfo.cs
- SoapObjectWriter.cs
- ProfileGroupSettings.cs
- SaveFileDialog.cs
- FontDialog.cs
- Calendar.cs
- EntityProviderFactory.cs
- ToolbarAUtomationPeer.cs
- OdbcConnectionHandle.cs
- FrameAutomationPeer.cs
- PageAdapter.cs
- ToolStripDropDown.cs
- CodeCommentStatementCollection.cs
- EntityModelBuildProvider.cs
- BindStream.cs
- SectionRecord.cs
- CustomTypeDescriptor.cs
- WebPartVerbCollection.cs
- IPipelineRuntime.cs
- SystemFonts.cs
- TreeWalkHelper.cs
- IndexerNameAttribute.cs
- TreeViewHitTestInfo.cs
- MouseOverProperty.cs
- PropertyMap.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- _NegoState.cs
- CultureSpecificStringDictionary.cs
- PagesChangedEventArgs.cs
- AutomationElementIdentifiers.cs
- DataGridViewSortCompareEventArgs.cs
- LocatorBase.cs
- SQLConvert.cs
- RouteParametersHelper.cs
- BitmapPalettes.cs
- SqlConnectionHelper.cs
- WebServiceHost.cs
- XsdDataContractExporter.cs
- AssociatedControlConverter.cs
- SchemaImporter.cs
- ActivityBindForm.Designer.cs
- BitmapSource.cs
- HwndSourceParameters.cs
- ValueUtilsSmi.cs
- XmlCharacterData.cs
- EnumerableCollectionView.cs
- UnauthorizedWebPart.cs
- CssClassPropertyAttribute.cs
- AssertUtility.cs
- MsmqProcessProtocolHandler.cs
- DrawingContext.cs
- DataGridState.cs
- ByteRangeDownloader.cs
- ContainerUIElement3D.cs
- ThreadSafeList.cs
- WorkflowControlEndpoint.cs
- MetadataCollection.cs
- KnownIds.cs
- StringSource.cs
- EventItfInfo.cs
- PipelineModuleStepContainer.cs
- HttpMethodConstraint.cs
- BaseTemplateBuildProvider.cs
- BackgroundWorker.cs
- Array.cs
- ConfigurationSettings.cs
- RawStylusInput.cs
- CLSCompliantAttribute.cs
- StickyNote.cs
- CompletedAsyncResult.cs
- ResourcePermissionBaseEntry.cs
- ActivityBuilderXamlWriter.cs
- tooltip.cs
- FileEnumerator.cs
- EventMap.cs
- EntitySqlQueryCacheKey.cs
- Context.cs
- validationstate.cs
- XmlNamespaceMappingCollection.cs