Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlDeclaration.cs
- MsmqHostedTransportManager.cs
- ChangePassword.cs
- ChannelBinding.cs
- ActivityDesigner.cs
- CompoundFileStreamReference.cs
- Int64KeyFrameCollection.cs
- DynamicEntity.cs
- RegexInterpreter.cs
- DataServiceResponse.cs
- PairComparer.cs
- RootNamespaceAttribute.cs
- SingleAnimationBase.cs
- DataKey.cs
- CompilerGlobalScopeAttribute.cs
- DataGridViewCellStyleBuilderDialog.cs
- GrammarBuilderWildcard.cs
- SystemIPGlobalProperties.cs
- DiscoveryMessageSequenceGenerator.cs
- ApplicationProxyInternal.cs
- configsystem.cs
- DictionaryBase.cs
- XmlDownloadManager.cs
- ScriptReferenceEventArgs.cs
- BufferBuilder.cs
- CompoundFileReference.cs
- ForeignConstraint.cs
- CodeTypeMember.cs
- VerticalAlignConverter.cs
- Preprocessor.cs
- ToolStripLabel.cs
- VideoDrawing.cs
- EntityContainerEmitter.cs
- CheckPair.cs
- ResourcesBuildProvider.cs
- Converter.cs
- sqlcontext.cs
- ArgumentDesigner.xaml.cs
- TimeSpanValidator.cs
- JsonDataContract.cs
- SqlClientFactory.cs
- WizardStepBase.cs
- OdbcError.cs
- AsymmetricAlgorithm.cs
- ellipse.cs
- ItemCollection.cs
- CaretElement.cs
- FactoryGenerator.cs
- LinearGradientBrush.cs
- OutKeywords.cs
- WebPartChrome.cs
- AsyncPostBackTrigger.cs
- SafeRightsManagementHandle.cs
- SystemNetworkInterface.cs
- NetworkStream.cs
- CriticalExceptions.cs
- OdbcConnectionOpen.cs
- COSERVERINFO.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Logging.cs
- ButtonField.cs
- DataAdapter.cs
- EmptyElement.cs
- PixelFormatConverter.cs
- DecimalMinMaxAggregationOperator.cs
- DoubleIndependentAnimationStorage.cs
- TextFormatterHost.cs
- XmlSubtreeReader.cs
- ObjectParameterCollection.cs
- SecurityContext.cs
- OneWayChannelFactory.cs
- UnicastIPAddressInformationCollection.cs
- OracleRowUpdatedEventArgs.cs
- HttpFileCollection.cs
- SQLBytesStorage.cs
- EntryWrittenEventArgs.cs
- DataGridViewColumnStateChangedEventArgs.cs
- CultureInfo.cs
- StrongNameMembershipCondition.cs
- StackBuilderSink.cs
- ListBoxItemWrapperAutomationPeer.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- iisPickupDirectory.cs
- CounterCreationData.cs
- HwndProxyElementProvider.cs
- DataGridViewAddColumnDialog.cs
- ChildTable.cs
- ApplyTemplatesAction.cs
- SqlXml.cs
- StringOutput.cs
- CreateUserWizard.cs
- AuthenticationModuleElement.cs
- StrokeCollection.cs
- ImageClickEventArgs.cs
- BinaryWriter.cs
- DateTimePicker.cs
- GeometryValueSerializer.cs
- _DisconnectOverlappedAsyncResult.cs
- CodeConstructor.cs
- RegexNode.cs