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
- TextPenaltyModule.cs
- TdsParser.cs
- NameTable.cs
- MsmqIntegrationSecurity.cs
- ChineseLunisolarCalendar.cs
- PathGeometry.cs
- EffectiveValueEntry.cs
- IconHelper.cs
- SoapAttributeAttribute.cs
- WebHttpDispatchOperationSelector.cs
- TableLayoutPanelCellPosition.cs
- HtmlUtf8RawTextWriter.cs
- MetadataLocation.cs
- LogReservationCollection.cs
- DataGridViewIntLinkedList.cs
- RemotingSurrogateSelector.cs
- ManualResetEvent.cs
- CodeMemberField.cs
- ObjectRef.cs
- XPathNavigatorKeyComparer.cs
- JapaneseCalendar.cs
- OrderByQueryOptionExpression.cs
- CompiledIdentityConstraint.cs
- SqlUdtInfo.cs
- CharKeyFrameCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- Argument.cs
- XmlReaderSettings.cs
- TextRangeEdit.cs
- ImpersonationContext.cs
- XamlPathDataSerializer.cs
- ObjectPersistData.cs
- CodeTypeParameter.cs
- TypeInfo.cs
- ImportFileRequest.cs
- TextRunCacheImp.cs
- DataGridHeaderBorder.cs
- MD5.cs
- PaperSource.cs
- ValueProviderWrapper.cs
- MediaEntryAttribute.cs
- TextDecorations.cs
- EventHandlersStore.cs
- _SslStream.cs
- AnnotationResourceChangedEventArgs.cs
- IndexedString.cs
- CipherData.cs
- QueueException.cs
- WindowProviderWrapper.cs
- StandardCommands.cs
- _NestedMultipleAsyncResult.cs
- CommonDialog.cs
- OutputCacheSettings.cs
- VerificationException.cs
- X509ImageLogo.cs
- OdbcDataReader.cs
- ColorConvertedBitmap.cs
- PrefixHandle.cs
- ListView.cs
- PropertySourceInfo.cs
- DataGridViewComboBoxColumn.cs
- InfoCardServiceInstallComponent.cs
- EntityCommandExecutionException.cs
- EntityDataSourceViewSchema.cs
- SiteOfOriginPart.cs
- LingerOption.cs
- HandleRef.cs
- TemplateAction.cs
- HashStream.cs
- ObjectDataSourceSelectingEventArgs.cs
- HttpModuleActionCollection.cs
- ResizeGrip.cs
- Rss20ItemFormatter.cs
- SHA256Managed.cs
- SymbolEqualComparer.cs
- Quack.cs
- HitTestFilterBehavior.cs
- ToolStripSeparator.cs
- ListViewGroup.cs
- Model3DGroup.cs
- XmlDataDocument.cs
- ListBindingHelper.cs
- FormatPage.cs
- DataServiceRequestOfT.cs
- XmlSchemaGroupRef.cs
- SqlClientMetaDataCollectionNames.cs
- TextMessageEncoder.cs
- NotCondition.cs
- ViewSimplifier.cs
- SmtpNetworkElement.cs
- OutOfProcStateClientManager.cs
- ObjectDataSource.cs
- DataGridBoolColumn.cs
- ViewStateModeByIdAttribute.cs
- WpfKnownMember.cs
- EncoderParameter.cs
- SelectionWordBreaker.cs
- SBCSCodePageEncoding.cs
- ResourceDefaultValueAttribute.cs
- Icon.cs