Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpressionBuilderContext.cs
- ExecutedRoutedEventArgs.cs
- RC2CryptoServiceProvider.cs
- SocketException.cs
- PeerTransportBindingElement.cs
- DataGridViewCellStyleEditor.cs
- regiisutil.cs
- arabicshape.cs
- XMLSyntaxException.cs
- precedingsibling.cs
- CacheAxisQuery.cs
- ListControl.cs
- Int16.cs
- Model3D.cs
- ReadOnlyAttribute.cs
- SerializationEventsCache.cs
- ValueUtilsSmi.cs
- IntSecurity.cs
- SystemUdpStatistics.cs
- QuaternionRotation3D.cs
- FrameworkTemplate.cs
- SkipStoryboardToFill.cs
- JoinGraph.cs
- SpeechRecognitionEngine.cs
- OutputWindow.cs
- ByValueEqualityComparer.cs
- FieldAccessException.cs
- GenericTypeParameterConverter.cs
- SiteMapHierarchicalDataSourceView.cs
- TiffBitmapDecoder.cs
- DataGridViewColumnCollection.cs
- PriorityRange.cs
- DiscoveryService.cs
- DragDrop.cs
- BufferedWebEventProvider.cs
- XhtmlBasicFormAdapter.cs
- Roles.cs
- EntityStoreSchemaGenerator.cs
- DescendantQuery.cs
- ToolStripPanel.cs
- PriorityBindingExpression.cs
- ThreadNeutralSemaphore.cs
- HttpCookie.cs
- MultilineStringConverter.cs
- Descriptor.cs
- GregorianCalendarHelper.cs
- TextServicesCompartmentContext.cs
- PrintingPermissionAttribute.cs
- SchemaImporterExtensionsSection.cs
- CodeSpit.cs
- FlatButtonAppearance.cs
- Soap.cs
- StringKeyFrameCollection.cs
- InkCanvasInnerCanvas.cs
- HttpSocketManager.cs
- MergeFilterQuery.cs
- ReferenceEqualityComparer.cs
- RelatedImageListAttribute.cs
- AccessDataSource.cs
- TextElementCollection.cs
- DataBindEngine.cs
- ElementHost.cs
- RegisteredScript.cs
- ConditionChanges.cs
- XamlPathDataSerializer.cs
- NetSectionGroup.cs
- AuthenticationModulesSection.cs
- EditingScopeUndoUnit.cs
- HtmlShimManager.cs
- DateTimeFormat.cs
- InstanceCreationEditor.cs
- ClassicBorderDecorator.cs
- BindingMemberInfo.cs
- ProcessHost.cs
- CustomCategoryAttribute.cs
- PathSegmentCollection.cs
- FunctionParameter.cs
- EmissiveMaterial.cs
- X509Certificate2Collection.cs
- MarkerProperties.cs
- HttpHandlerActionCollection.cs
- SimpleTextLine.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Attributes.cs
- DesignerActionListCollection.cs
- PolicyLevel.cs
- FileDialogCustomPlacesCollection.cs
- MatchAttribute.cs
- HtmlTitle.cs
- DragStartedEventArgs.cs
- CompressionTransform.cs
- InternalPermissions.cs
- AuthenticationService.cs
- BoundingRectTracker.cs
- SystemIcmpV6Statistics.cs
- StateRuntime.cs
- SelectedDatesCollection.cs
- ListView.cs
- ADMembershipProvider.cs
- TextRangeEdit.cs