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
- ResourceIDHelper.cs
- Package.cs
- TextRunCache.cs
- SystemIPv6InterfaceProperties.cs
- ZipIOFileItemStream.cs
- RelationshipWrapper.cs
- Variable.cs
- WbemProvider.cs
- KeyGesture.cs
- MenuRenderer.cs
- PointValueSerializer.cs
- Model3DGroup.cs
- ComponentEditorForm.cs
- DataViewManager.cs
- EventRouteFactory.cs
- ComboBoxAutomationPeer.cs
- fixedPageContentExtractor.cs
- BinaryCommonClasses.cs
- MiniConstructorInfo.cs
- EntityCommand.cs
- ServerValidateEventArgs.cs
- KeyValuePairs.cs
- WindowsEditBox.cs
- SqlDependencyUtils.cs
- RegexWriter.cs
- GridItemCollection.cs
- FrameworkContentElement.cs
- BaseDataBoundControlDesigner.cs
- ClientConfigurationSystem.cs
- COM2Enum.cs
- ParseHttpDate.cs
- BitSet.cs
- EmptyWithCancelationCheckWorkItem.cs
- ByteStack.cs
- ListItemCollection.cs
- SHA512Managed.cs
- MetadataItemSerializer.cs
- VisualBrush.cs
- TrackingConditionCollection.cs
- TreeNodeBindingDepthConverter.cs
- Queue.cs
- WsatServiceAddress.cs
- httpapplicationstate.cs
- SchemaImporter.cs
- RetriableClipboard.cs
- ValueTypeFixupInfo.cs
- DataListItemCollection.cs
- PropertyInformationCollection.cs
- ContactManager.cs
- CompiledAction.cs
- MatchingStyle.cs
- WindowsFormsSectionHandler.cs
- EventManager.cs
- CodeDirectionExpression.cs
- ServiceBehaviorElement.cs
- VolatileEnlistmentMultiplexing.cs
- ResourceBinder.cs
- Subset.cs
- RunWorkerCompletedEventArgs.cs
- URLMembershipCondition.cs
- InvalidCastException.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- ObjectDisposedException.cs
- TdsRecordBufferSetter.cs
- ImpersonationContext.cs
- ResetableIterator.cs
- ZoneButton.cs
- ErrorStyle.cs
- EditorResources.cs
- Typography.cs
- AsyncOperationContext.cs
- NodeInfo.cs
- DefaultValidator.cs
- TypefaceMetricsCache.cs
- QueryResponse.cs
- DrawListViewColumnHeaderEventArgs.cs
- XmlSchemaInferenceException.cs
- AstTree.cs
- FixedTextContainer.cs
- ImageSource.cs
- CallbackValidatorAttribute.cs
- ToolStripPanelSelectionGlyph.cs
- _NestedMultipleAsyncResult.cs
- PersonalizationStateInfo.cs
- OdbcHandle.cs
- Command.cs
- JsonMessageEncoderFactory.cs
- DefaultValueTypeConverter.cs
- PageStatePersister.cs
- DataGridTemplateColumn.cs
- EventLogEntry.cs
- DesignerActionVerbItem.cs
- BaseTreeIterator.cs
- RegularExpressionValidator.cs
- SspiNegotiationTokenAuthenticatorState.cs
- ProjectionCamera.cs
- EdmScalarPropertyAttribute.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- TypeRestriction.cs
- BindingContext.cs