Code:
/ FX-1434 / FX-1434 / 1.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
- odbcmetadatafactory.cs
- ReferentialConstraintRoleElement.cs
- ImageProxy.cs
- InternalConfigEventArgs.cs
- UnconditionalPolicy.cs
- SchemaTableColumn.cs
- OdbcHandle.cs
- _Semaphore.cs
- KnownTypes.cs
- GiveFeedbackEvent.cs
- RankException.cs
- TableLayoutPanelCellPosition.cs
- WebPartZone.cs
- Run.cs
- QilValidationVisitor.cs
- CommentEmitter.cs
- SctClaimSerializer.cs
- SortAction.cs
- GenericTextProperties.cs
- Pens.cs
- JsonReaderDelegator.cs
- Timer.cs
- DetailsViewDeleteEventArgs.cs
- ListItem.cs
- ErrorRuntimeConfig.cs
- LabelLiteral.cs
- Descriptor.cs
- TextEditorSpelling.cs
- _Semaphore.cs
- TextBoxBase.cs
- InternalPermissions.cs
- HyperLink.cs
- Propagator.JoinPropagator.cs
- FileUtil.cs
- COM2FontConverter.cs
- XmlCharCheckingWriter.cs
- Debug.cs
- CheckBox.cs
- RelatedImageListAttribute.cs
- SubMenuStyleCollection.cs
- WindowsPrincipal.cs
- TextFormatterContext.cs
- CuspData.cs
- GenericAuthenticationEventArgs.cs
- XhtmlBasicValidationSummaryAdapter.cs
- RadioButton.cs
- RuntimeArgumentHandle.cs
- ZipArchive.cs
- EntityAdapter.cs
- EventRouteFactory.cs
- MediaScriptCommandRoutedEventArgs.cs
- Emitter.cs
- Container.cs
- StringArrayConverter.cs
- DataServiceConfiguration.cs
- MessageDecoder.cs
- TemplatedAdorner.cs
- DataListItem.cs
- SelectedDatesCollection.cs
- SendAgentStatusRequest.cs
- XmlILModule.cs
- CatalogZoneDesigner.cs
- X509Chain.cs
- AppSettingsSection.cs
- TemplatingOptionsDialog.cs
- XmlArrayAttribute.cs
- DataGridViewRowCancelEventArgs.cs
- Translator.cs
- CalendarDateRangeChangingEventArgs.cs
- Imaging.cs
- CheckBox.cs
- DefaultEventAttribute.cs
- PolyBezierSegmentFigureLogic.cs
- HwndAppCommandInputProvider.cs
- CalendarTable.cs
- DataServices.cs
- VisualTreeHelper.cs
- EntitySqlQueryCacheEntry.cs
- WindowsImpersonationContext.cs
- KeyGestureConverter.cs
- HttpModuleAction.cs
- SoapInteropTypes.cs
- ParserStreamGeometryContext.cs
- TriState.cs
- XmlSchemaAnyAttribute.cs
- DiagnosticTrace.cs
- ObjectDataProvider.cs
- RotateTransform3D.cs
- FixedHyperLink.cs
- LiteralSubsegment.cs
- DispatcherOperation.cs
- ConfigWriter.cs
- _BufferOffsetSize.cs
- EventLog.cs
- AesManaged.cs
- XmlSchemaSet.cs
- GenericIdentity.cs
- DefaultPrintController.cs
- RowCache.cs
- MimePart.cs