Code:
/ DotNET / DotNET / 8.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
- Symbol.cs
- ParameterCollectionEditorForm.cs
- FeatureSupport.cs
- XmlWriterDelegator.cs
- XmlAttributeProperties.cs
- SmtpNegotiateAuthenticationModule.cs
- TextFragmentEngine.cs
- TransformPattern.cs
- OptimisticConcurrencyException.cs
- Accessible.cs
- SQLConvert.cs
- ToolStripArrowRenderEventArgs.cs
- ADMembershipUser.cs
- RuleSettings.cs
- MonikerBuilder.cs
- ScrollData.cs
- VectorValueSerializer.cs
- WindowExtensionMethods.cs
- TextContainerHelper.cs
- MetadataPropertyCollection.cs
- WindowsSysHeader.cs
- DataContractSerializerServiceBehavior.cs
- SqlBulkCopy.cs
- Stack.cs
- WebServiceHandler.cs
- namescope.cs
- ComContractElementCollection.cs
- DocumentViewerAutomationPeer.cs
- XamlStream.cs
- EmbeddedMailObject.cs
- FixedPageProcessor.cs
- CodeLabeledStatement.cs
- AccessibleObject.cs
- ThreadInterruptedException.cs
- ConditionCollection.cs
- OptimizedTemplateContentHelper.cs
- ExpressionBindings.cs
- ImmutablePropertyDescriptorGridEntry.cs
- RowParagraph.cs
- ImageField.cs
- SecurityContext.cs
- Util.cs
- QilFactory.cs
- FrameDimension.cs
- DataFormat.cs
- MenuItemCollectionEditor.cs
- CompilationUtil.cs
- HandlerWithFactory.cs
- Privilege.cs
- EntityProviderServices.cs
- KeyedCollection.cs
- HttpAsyncResult.cs
- RegexRunnerFactory.cs
- RequestCacheEntry.cs
- BindingExpressionBase.cs
- ConfigurationValidatorAttribute.cs
- DelegatingConfigHost.cs
- StructuralType.cs
- WindowInteropHelper.cs
- BaseDataBoundControl.cs
- StorageSetMapping.cs
- DetailsViewInsertedEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- OperandQuery.cs
- TextTreeExtractElementUndoUnit.cs
- SQLMembershipProvider.cs
- RequestSecurityTokenSerializer.cs
- HtmlInputRadioButton.cs
- RectangleF.cs
- RootNamespaceAttribute.cs
- BoolExpr.cs
- DocumentReferenceCollection.cs
- EncoderExceptionFallback.cs
- SystemMulticastIPAddressInformation.cs
- MemberCollection.cs
- Identity.cs
- DesignerValidatorAdapter.cs
- FontFamily.cs
- Timer.cs
- ContainsRowNumberChecker.cs
- GenericPrincipal.cs
- TypedOperationInfo.cs
- SchemaNames.cs
- ExtendedPropertyDescriptor.cs
- DataSourceHelper.cs
- MouseEventArgs.cs
- XsdBuilder.cs
- NativeMethods.cs
- XmlSiteMapProvider.cs
- ContextMarshalException.cs
- FolderBrowserDialogDesigner.cs
- NotSupportedException.cs
- StateValidator.cs
- InkCanvasSelection.cs
- UncommonField.cs
- BitConverter.cs
- TextServicesPropertyRanges.cs
- NoneExcludedImageIndexConverter.cs
- VerificationException.cs
- PipelineComponent.cs