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
- UIElementParagraph.cs
- AlternateView.cs
- ImageFormat.cs
- PropertyFilterAttribute.cs
- _Connection.cs
- TdsValueSetter.cs
- CodeAccessSecurityEngine.cs
- UnmanagedMemoryStream.cs
- SimpleBitVector32.cs
- WmlControlAdapter.cs
- OpenTypeCommon.cs
- NavigationService.cs
- SkewTransform.cs
- TimelineCollection.cs
- Rule.cs
- SecurityHeaderElementInferenceEngine.cs
- Italic.cs
- Publisher.cs
- EventToken.cs
- ColumnWidthChangingEvent.cs
- MultiDataTrigger.cs
- ButtonAutomationPeer.cs
- Positioning.cs
- Interlocked.cs
- TemplateGroupCollection.cs
- EmptyStringExpandableObjectConverter.cs
- SiteMapDataSource.cs
- Point.cs
- PresentationAppDomainManager.cs
- SqlProviderServices.cs
- SAPICategories.cs
- GacUtil.cs
- FixedNode.cs
- MessageHeaderDescriptionCollection.cs
- BitmapInitialize.cs
- ScriptingJsonSerializationSection.cs
- NavigationHelper.cs
- RemotingServices.cs
- PolicyLevel.cs
- DataGridViewAccessibleObject.cs
- EmbeddedObject.cs
- CriticalHandle.cs
- SequenceFullException.cs
- KeyValueInternalCollection.cs
- LineVisual.cs
- StreamUpdate.cs
- XmlTextAttribute.cs
- WizardStepBase.cs
- X509ClientCertificateCredentialsElement.cs
- ListViewItemMouseHoverEvent.cs
- ListSourceHelper.cs
- DefaultParameterValueAttribute.cs
- Hash.cs
- WorkBatch.cs
- QueryStringParameter.cs
- FactoryGenerator.cs
- MailSettingsSection.cs
- Thread.cs
- References.cs
- XpsS0ValidatingLoader.cs
- IdleTimeoutMonitor.cs
- ListChunk.cs
- IfJoinedCondition.cs
- FontInfo.cs
- Rotation3DAnimationUsingKeyFrames.cs
- RuleRefElement.cs
- XamlVector3DCollectionSerializer.cs
- WebPartMenuStyle.cs
- DateTimeFormatInfo.cs
- MessageAction.cs
- Border.cs
- ProjectionPruner.cs
- ButtonBaseAdapter.cs
- InternalResources.cs
- filewebresponse.cs
- ListBoxItem.cs
- IntSecurity.cs
- OlePropertyStructs.cs
- HostedElements.cs
- RadioButtonList.cs
- BodyWriter.cs
- RefreshPropertiesAttribute.cs
- FontUnit.cs
- OdbcError.cs
- LinqDataSourceView.cs
- CommandField.cs
- OperationPickerDialog.cs
- ColumnProvider.cs
- UiaCoreTypesApi.cs
- WmpBitmapEncoder.cs
- ServiceNameCollection.cs
- SQLDoubleStorage.cs
- MarkupProperty.cs
- AllowedAudienceUriElement.cs
- DataSourceProvider.cs
- DateTimeConverter.cs
- BaseComponentEditor.cs
- DesignerSerializerAttribute.cs
- Imaging.cs
- HelpInfo.cs