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
- FileSystemInfo.cs
- ExpressionEditor.cs
- WmfPlaceableFileHeader.cs
- ObjectItemLoadingSessionData.cs
- Vector3DIndependentAnimationStorage.cs
- UpdatePanelControlTrigger.cs
- DataGridViewControlCollection.cs
- TextFormatterContext.cs
- ToolStripItemImageRenderEventArgs.cs
- Tag.cs
- BindingContext.cs
- HandlerMappingMemo.cs
- Matrix.cs
- MapPathBasedVirtualPathProvider.cs
- elementinformation.cs
- ExtentCqlBlock.cs
- DbConnectionFactory.cs
- GridViewItemAutomationPeer.cs
- ListViewDeleteEventArgs.cs
- HtmlButton.cs
- FamilyTypefaceCollection.cs
- ContentType.cs
- SafeCryptoHandles.cs
- CachedCompositeFamily.cs
- XPathNode.cs
- DataSourceIDConverter.cs
- Invariant.cs
- DBProviderConfigurationHandler.cs
- FileAuthorizationModule.cs
- EventMappingSettingsCollection.cs
- ObjectListCommandCollection.cs
- ComponentEditorForm.cs
- PageTheme.cs
- EndpointAddressAugust2004.cs
- CompilerHelpers.cs
- Vector3DAnimationUsingKeyFrames.cs
- RoleManagerModule.cs
- XmlNamespaceDeclarationsAttribute.cs
- ObjectItemAttributeAssemblyLoader.cs
- ValueCollectionParameterReader.cs
- WSHttpBinding.cs
- ObjectAnimationUsingKeyFrames.cs
- ExecutionEngineException.cs
- LogLogRecordEnumerator.cs
- DataContractFormatAttribute.cs
- MbpInfo.cs
- BitmapCacheBrush.cs
- HttpApplicationFactory.cs
- ServiceProviders.cs
- ComAwareEventInfo.cs
- TCPClient.cs
- DesignerSerializationOptionsAttribute.cs
- WebPartMinimizeVerb.cs
- formatstringdialog.cs
- KerberosSecurityTokenAuthenticator.cs
- GridViewRowCollection.cs
- DbUpdateCommandTree.cs
- RadioButtonDesigner.cs
- ObjectListDataBindEventArgs.cs
- Peer.cs
- FormsAuthenticationConfiguration.cs
- MailBnfHelper.cs
- DockPanel.cs
- RenderTargetBitmap.cs
- GridViewCancelEditEventArgs.cs
- LineSegment.cs
- ButtonColumn.cs
- HighlightVisual.cs
- xmlsaver.cs
- XhtmlBasicLabelAdapter.cs
- MsmqDiagnostics.cs
- MultipleViewPatternIdentifiers.cs
- CustomAttribute.cs
- mongolianshape.cs
- CommandSet.cs
- RelatedPropertyManager.cs
- DataSourceControl.cs
- StylusPoint.cs
- ConversionContext.cs
- EFDataModelProvider.cs
- COM2EnumConverter.cs
- TablePatternIdentifiers.cs
- DataGridColumnEventArgs.cs
- SpecialFolderEnumConverter.cs
- ValueOfAction.cs
- PolicyLevel.cs
- SystemFonts.cs
- HttpPostedFileWrapper.cs
- ToolBarButton.cs
- CustomCategoryAttribute.cs
- ProfileService.cs
- EventMappingSettingsCollection.cs
- AuthenticationServiceManager.cs
- TrustManagerPromptUI.cs
- PaintEvent.cs
- XmlArrayItemAttributes.cs
- HttpProcessUtility.cs
- LoadRetryHandler.cs
- EntityDataSourceState.cs
- MediaTimeline.cs