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
- DataGridViewRowDividerDoubleClickEventArgs.cs
- UnsafeCollabNativeMethods.cs
- VerificationAttribute.cs
- ContractNamespaceAttribute.cs
- RequestSecurityTokenResponseCollection.cs
- GridViewCellAutomationPeer.cs
- AutoGeneratedField.cs
- ReachPageContentCollectionSerializerAsync.cs
- InstalledFontCollection.cs
- AspCompat.cs
- _UncName.cs
- EventDrivenDesigner.cs
- SymLanguageType.cs
- CaretElement.cs
- CodeTypeReferenceExpression.cs
- ApplicationServiceHelper.cs
- DocumentPageViewAutomationPeer.cs
- DiscreteKeyFrames.cs
- StringExpressionSet.cs
- PageParser.cs
- BitmapEffectInputConnector.cs
- DocumentViewerBase.cs
- ClientSideQueueItem.cs
- SqlCacheDependencySection.cs
- ConfigurationManagerHelper.cs
- Soap12ProtocolImporter.cs
- DataFormats.cs
- XmlTextAttribute.cs
- FirewallWrapper.cs
- Dictionary.cs
- CodeTypeOfExpression.cs
- DispatchChannelSink.cs
- RectConverter.cs
- SmiGettersStream.cs
- HttpCacheParams.cs
- CaseInsensitiveHashCodeProvider.cs
- srgsitem.cs
- SmiMetaDataProperty.cs
- LicenseContext.cs
- DataGridViewBand.cs
- RoleBoolean.cs
- CalendarAutomationPeer.cs
- TimeoutValidationAttribute.cs
- Deflater.cs
- WebEventCodes.cs
- RoutedCommand.cs
- HuffmanTree.cs
- HotSpot.cs
- MessageSecurityOverTcpElement.cs
- SourceItem.cs
- DrawListViewItemEventArgs.cs
- CapabilitiesRule.cs
- OleDbCommandBuilder.cs
- ListViewUpdateEventArgs.cs
- ImageDrawing.cs
- CompareInfo.cs
- MethodRental.cs
- CapacityStreamGeometryContext.cs
- ConnectionStringsSection.cs
- ReadOnlyTernaryTree.cs
- TaiwanLunisolarCalendar.cs
- OrderedHashRepartitionEnumerator.cs
- DetailsViewRowCollection.cs
- Native.cs
- ObjectDataProvider.cs
- MenuEventArgs.cs
- DefaultValidator.cs
- EntityTypeEmitter.cs
- SerializationSectionGroup.cs
- OneWayChannelFactory.cs
- MemoryMappedView.cs
- MailWriter.cs
- CodeAttributeDeclarationCollection.cs
- MultiSelector.cs
- WpfWebRequestHelper.cs
- XhtmlBasicControlAdapter.cs
- StrokeIntersection.cs
- NetworkInformationPermission.cs
- WarningException.cs
- ControlValuePropertyAttribute.cs
- RadioButton.cs
- _Rfc2616CacheValidators.cs
- DeviceContexts.cs
- MultipleViewPattern.cs
- ISO2022Encoding.cs
- ChannelServices.cs
- SmiContext.cs
- InlinedAggregationOperator.cs
- SqlClientFactory.cs
- autovalidator.cs
- ConsumerConnectionPointCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- WebPartsPersonalizationAuthorization.cs
- ThreadExceptionDialog.cs
- ControlAdapter.cs
- ModuleConfigurationInfo.cs
- BamlTreeUpdater.cs
- NamespaceDecl.cs
- X509SecurityTokenAuthenticator.cs
- AppearanceEditorPart.cs