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
- QueueProcessor.cs
- __ConsoleStream.cs
- MemberHolder.cs
- SingleObjectCollection.cs
- DecimalKeyFrameCollection.cs
- WrappedIUnknown.cs
- XPathBinder.cs
- EntityStoreSchemaGenerator.cs
- SHA1Managed.cs
- CallbackBehaviorAttribute.cs
- Zone.cs
- TrustLevelCollection.cs
- FileNotFoundException.cs
- CodeMemberEvent.cs
- MethodCallTranslator.cs
- Hyperlink.cs
- LinqDataSourceValidationException.cs
- XPathPatternParser.cs
- DataGridViewSelectedCellCollection.cs
- PopupControlService.cs
- ContextStaticAttribute.cs
- TreeNodeBindingCollection.cs
- HandleExceptionArgs.cs
- QuotedStringWriteStateInfo.cs
- GenericAuthenticationEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- SoapIgnoreAttribute.cs
- HtmlUtf8RawTextWriter.cs
- ReadOnlyTernaryTree.cs
- XmlSerializerAssemblyAttribute.cs
- XmlSchemaComplexContent.cs
- CodeTypeParameter.cs
- SendKeys.cs
- StatusBarDrawItemEvent.cs
- MaskedTextBoxTextEditor.cs
- Exceptions.cs
- CodeExpressionStatement.cs
- CellNormalizer.cs
- JobPageOrder.cs
- BinaryMethodMessage.cs
- DataBoundControlAdapter.cs
- TTSEngineProxy.cs
- Panel.cs
- DecimalAnimationUsingKeyFrames.cs
- RegistrySecurity.cs
- ModelVisual3D.cs
- ReachDocumentReferenceSerializer.cs
- GlobalizationSection.cs
- Border.cs
- complextypematerializer.cs
- SubtreeProcessor.cs
- NameGenerator.cs
- Function.cs
- IPipelineRuntime.cs
- glyphs.cs
- ArrayTypeMismatchException.cs
- OpacityConverter.cs
- InternalPermissions.cs
- ReflectionUtil.cs
- DataServiceRequest.cs
- CharKeyFrameCollection.cs
- BitSet.cs
- MulticastIPAddressInformationCollection.cs
- InvalidDocumentContentsException.cs
- DebugTrace.cs
- QueryCreatedEventArgs.cs
- ActivityExecutor.cs
- DNS.cs
- CatalogZoneAutoFormat.cs
- SubpageParaClient.cs
- listviewsubitemcollectioneditor.cs
- SimpleExpression.cs
- AssemblyBuilderData.cs
- SubtreeProcessor.cs
- ValidatingReaderNodeData.cs
- SourceLineInfo.cs
- util.cs
- SqlMethods.cs
- ScrollProperties.cs
- InvocationExpression.cs
- CellQuery.cs
- ElementNotEnabledException.cs
- MDIClient.cs
- DurationConverter.cs
- TextEditorMouse.cs
- SerializationInfoEnumerator.cs
- AssemblyBuilder.cs
- GeneratedCodeAttribute.cs
- BitmapFrameDecode.cs
- XmlSchemaException.cs
- FloaterParaClient.cs
- DataBindingList.cs
- GridViewUpdatedEventArgs.cs
- GacUtil.cs
- ClientRolePrincipal.cs
- DynamicArgumentDesigner.xaml.cs
- IdSpace.cs
- XmlILOptimizerVisitor.cs
- OutKeywords.cs
- MultiAsyncResult.cs