Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ValidatorCollection.cs
- _ProxyRegBlob.cs
- LinkUtilities.cs
- ISAPIRuntime.cs
- ReadOnlyCollection.cs
- ValidatorCollection.cs
- ItemDragEvent.cs
- TableDetailsRow.cs
- RuleSettings.cs
- XmlElementAttribute.cs
- ExcludeFromCodeCoverageAttribute.cs
- MasterPageBuildProvider.cs
- SmiContext.cs
- ParameterEditorUserControl.cs
- AvtEvent.cs
- SystemEvents.cs
- RoleGroupCollectionEditor.cs
- DeferredReference.cs
- EntityFrameworkVersions.cs
- OverflowException.cs
- BoundConstants.cs
- ItemCollection.cs
- TextView.cs
- ArrayTypeMismatchException.cs
- CryptoHelper.cs
- BufferedGraphics.cs
- TypeExtensions.cs
- UserCancellationException.cs
- TypeResolvingOptionsAttribute.cs
- propertytag.cs
- PlanCompiler.cs
- AppDomainUnloadedException.cs
- CapabilitiesAssignment.cs
- Membership.cs
- TableLayoutPanelBehavior.cs
- PropertyGrid.cs
- PrivilegedConfigurationManager.cs
- UITypeEditors.cs
- RegexCaptureCollection.cs
- RemoveStoryboard.cs
- NamespaceInfo.cs
- DocumentViewerAutomationPeer.cs
- InfoCardConstants.cs
- Win32KeyboardDevice.cs
- TreeNodeCollection.cs
- ClientSettingsProvider.cs
- KoreanLunisolarCalendar.cs
- FlowDocumentPageViewerAutomationPeer.cs
- XPathNavigatorKeyComparer.cs
- ApplicationServiceManager.cs
- WorkItem.cs
- AssemblyBuilder.cs
- FunctionImportMapping.cs
- FilteredXmlReader.cs
- HttpClientCertificate.cs
- TemplateEditingFrame.cs
- TextSearch.cs
- ComponentCollection.cs
- MobileControlBuilder.cs
- AssemblyInfo.cs
- PropertyChangingEventArgs.cs
- FastEncoderWindow.cs
- ToolStripPanel.cs
- SocketInformation.cs
- NamespaceListProperty.cs
- BroadcastEventHelper.cs
- DefaultValueConverter.cs
- BoolExpressionVisitors.cs
- TransformerConfigurationWizardBase.cs
- KeyValueConfigurationElement.cs
- VisualTarget.cs
- SubpageParaClient.cs
- InvalidProgramException.cs
- ByteStorage.cs
- ApplicationSecurityInfo.cs
- CompoundFileDeflateTransform.cs
- DocumentGridPage.cs
- GregorianCalendar.cs
- AddInPipelineAttributes.cs
- _DomainName.cs
- PathTooLongException.cs
- ProgressiveCrcCalculatingStream.cs
- OperationSelectorBehavior.cs
- WebServiceTypeData.cs
- ToolboxSnapDragDropEventArgs.cs
- CodeObject.cs
- TcpClientSocketManager.cs
- EmptyStringExpandableObjectConverter.cs
- AddInBase.cs
- Span.cs
- IInstanceTable.cs
- WindowsNonControl.cs
- SuppressIldasmAttribute.cs
- followingsibling.cs
- PermissionToken.cs
- Renderer.cs
- querybuilder.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- WindowsToolbarAsMenu.cs
- TimeSpanValidatorAttribute.cs