Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // 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
- SimpleType.cs
- CreateUserWizardStep.cs
- ExpressionNormalizer.cs
- RewritingValidator.cs
- CodeTypeReference.cs
- ConstructorNeedsTagAttribute.cs
- ZoomComboBox.cs
- mda.cs
- WindowsContainer.cs
- ExpressionReplacer.cs
- StrokeNodeData.cs
- TraceContext.cs
- TableColumn.cs
- CustomValidator.cs
- ReferenceService.cs
- ExtentCqlBlock.cs
- EncodingTable.cs
- SerializationAttributes.cs
- GlyphElement.cs
- Sentence.cs
- RoutedEventValueSerializer.cs
- SqlDataReaderSmi.cs
- Validator.cs
- DesignerWidgets.cs
- LabelExpression.cs
- PhonemeEventArgs.cs
- SerializerProvider.cs
- DocumentViewerHelper.cs
- SourceLocationProvider.cs
- UriTemplateMatchException.cs
- SamlAudienceRestrictionCondition.cs
- ExtentKey.cs
- CheckedPointers.cs
- ConfigurationValues.cs
- Matrix3DStack.cs
- TextLineResult.cs
- DeclarativeCatalogPart.cs
- HttpModuleCollection.cs
- VirtualPathProvider.cs
- ExcludeFromCodeCoverageAttribute.cs
- ExeContext.cs
- AddInControllerImpl.cs
- FontInfo.cs
- HttpGetProtocolReflector.cs
- DocumentPaginator.cs
- EntityDataSourceChangingEventArgs.cs
- ObjectDataSourceView.cs
- FacetValueContainer.cs
- DataGridItemCollection.cs
- ProgressiveCrcCalculatingStream.cs
- ContentPropertyAttribute.cs
- CodeCommentStatement.cs
- CorrelationManager.cs
- RoutedEvent.cs
- TextContainer.cs
- InkPresenter.cs
- ClientSession.cs
- PresentationTraceSources.cs
- PriorityBindingExpression.cs
- WebPartManager.cs
- ReferenceEqualityComparer.cs
- CopyAction.cs
- HttpModulesInstallComponent.cs
- BulletChrome.cs
- PaginationProgressEventArgs.cs
- DbgUtil.cs
- InputMethodStateChangeEventArgs.cs
- ISAPIWorkerRequest.cs
- WpfMemberInvoker.cs
- _Semaphore.cs
- ActivityExecutorSurrogate.cs
- UnauthorizedWebPart.cs
- BindingList.cs
- SiteOfOriginContainer.cs
- CompositeCollection.cs
- X509Chain.cs
- xsdvalidator.cs
- HierarchicalDataBoundControlAdapter.cs
- Span.cs
- RadioButton.cs
- DispatcherExceptionEventArgs.cs
- BitFlagsGenerator.cs
- ElementHost.cs
- LayoutExceptionEventArgs.cs
- MaterialCollection.cs
- DataGridViewControlCollection.cs
- BrushConverter.cs
- WindowsListViewSubItem.cs
- UpdatePanel.cs
- LassoSelectionBehavior.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Util.cs
- BaseTemplateCodeDomTreeGenerator.cs
- InvalidOperationException.cs
- NetMsmqBindingCollectionElement.cs
- SettingsPropertyValueCollection.cs
- DeleteHelper.cs
- Light.cs
- ListViewItem.cs
- SectionRecord.cs