Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / OutOfMemoryException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- NodeFunctions.cs
- SafeCryptContextHandle.cs
- RemoteWebConfigurationHostServer.cs
- IdentityHolder.cs
- SocketException.cs
- BamlLocalizabilityResolver.cs
- PropertyGridView.cs
- DrawingState.cs
- PersonalizationAdministration.cs
- BrowserDefinitionCollection.cs
- _SslSessionsCache.cs
- Effect.cs
- TextSelectionHighlightLayer.cs
- TableItemPatternIdentifiers.cs
- DtcInterfaces.cs
- BreakRecordTable.cs
- processwaithandle.cs
- PieceNameHelper.cs
- AvTraceFormat.cs
- Point.cs
- Focus.cs
- SourceItem.cs
- FullTrustAssembly.cs
- Pair.cs
- PathParser.cs
- HttpException.cs
- XmlRawWriter.cs
- BulletDecorator.cs
- UITypeEditors.cs
- WeakRefEnumerator.cs
- DataSourceExpression.cs
- LZCodec.cs
- DataGridViewCheckBoxCell.cs
- MemoryPressure.cs
- ServiceReference.cs
- QuaternionRotation3D.cs
- CompositeDataBoundControl.cs
- RijndaelManaged.cs
- ListControlBoundActionList.cs
- KnownTypesHelper.cs
- ActivityXRefPropertyEditor.cs
- NotifyParentPropertyAttribute.cs
- HttpServerVarsCollection.cs
- Currency.cs
- QuaternionRotation3D.cs
- TdsParserStateObject.cs
- SpeechUI.cs
- AnimationException.cs
- HttpStreamXmlDictionaryWriter.cs
- Image.cs
- Bits.cs
- WebConfigManager.cs
- DetailsViewCommandEventArgs.cs
- ImageConverter.cs
- SR.cs
- DataGridColumnHeader.cs
- MailMessageEventArgs.cs
- CompilerTypeWithParams.cs
- DefaultBinder.cs
- CharacterHit.cs
- DescriptionAttribute.cs
- ObjectViewEntityCollectionData.cs
- _HeaderInfoTable.cs
- TimeoutValidationAttribute.cs
- WmlPanelAdapter.cs
- CodeGroup.cs
- ILGenerator.cs
- UnmanagedMarshal.cs
- CommandHelpers.cs
- WorkflowInstanceQuery.cs
- Parser.cs
- GlyphRun.cs
- LinearQuaternionKeyFrame.cs
- ButtonDesigner.cs
- KeysConverter.cs
- XmlAggregates.cs
- HiddenField.cs
- Matrix.cs
- DataGridViewButtonColumn.cs
- SQLBytesStorage.cs
- FileDetails.cs
- EntitySqlException.cs
- TextCompositionManager.cs
- DataMemberAttribute.cs
- MetadataArtifactLoaderComposite.cs
- Timer.cs
- TextRunCacheImp.cs
- UnSafeCharBuffer.cs
- typedescriptorpermissionattribute.cs
- TableChangeProcessor.cs
- Freezable.cs
- ColumnHeader.cs
- ProtocolProfile.cs
- BinaryParser.cs
- ItemCheckEvent.cs
- ProviderSettings.cs
- ImageDesigner.cs
- HtmlTableRow.cs
- Property.cs
- ListControlStringCollectionEditor.cs