Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / StackOverflowException.cs / 1 / StackOverflowException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: StackOverflowException
**
**
** Purpose: The exception class for stack overflow.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable()] public sealed class StackOverflowException : SystemException {
public StackOverflowException()
: base(Environment.GetResourceString("Arg_StackOverflowException")) {
SetErrorCode(__HResults.COR_E_STACKOVERFLOW);
}
public StackOverflowException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_STACKOVERFLOW);
}
public StackOverflowException(String message, Exception innerException)
: base(message, innerException) {
SetErrorCode(__HResults.COR_E_STACKOVERFLOW);
}
internal StackOverflowException(SerializationInfo info, StreamingContext context) : base (info, context) {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Relationship.cs
- SdlChannelSink.cs
- ParameterExpression.cs
- PageAsyncTask.cs
- DataTableNewRowEvent.cs
- ResourceAssociationTypeEnd.cs
- ColorMatrix.cs
- AppDomainInfo.cs
- DatatypeImplementation.cs
- ProcessStartInfo.cs
- listitem.cs
- CodeSpit.cs
- AsyncPostBackTrigger.cs
- OdbcConnectionStringbuilder.cs
- InvokeBinder.cs
- URLString.cs
- FileRegion.cs
- AppDomainCompilerProxy.cs
- FieldBuilder.cs
- SByteConverter.cs
- DigestTraceRecordHelper.cs
- BridgeDataRecord.cs
- Rotation3D.cs
- XmlCharCheckingWriter.cs
- IndexOutOfRangeException.cs
- RuntimeResourceSet.cs
- ObjectListCommandEventArgs.cs
- LocatorBase.cs
- DrawingImage.cs
- DefaultParameterValueAttribute.cs
- WinHttpWebProxyFinder.cs
- StyleBamlRecordReader.cs
- SafeNativeMethodsOther.cs
- OutputCacheSettings.cs
- Geometry3D.cs
- ControlAdapter.cs
- TypeNameParser.cs
- ColumnHeader.cs
- XmlEventCache.cs
- PropertyMetadata.cs
- UniqueConstraint.cs
- HttpCacheParams.cs
- Emitter.cs
- InvalidEnumArgumentException.cs
- ExpressionNode.cs
- LabelEditEvent.cs
- XmlValidatingReaderImpl.cs
- SelectorItemAutomationPeer.cs
- XmlSerializerSection.cs
- SocketSettings.cs
- RegistryConfigurationProvider.cs
- FrugalMap.cs
- ThicknessAnimation.cs
- DataTableReader.cs
- XPathDocumentIterator.cs
- ArrayWithOffset.cs
- EntityDataSourceContainerNameItem.cs
- CodeObject.cs
- Encoder.cs
- EventDescriptor.cs
- PixelShader.cs
- OperationPickerDialog.cs
- StylusDownEventArgs.cs
- XmlSequenceWriter.cs
- AVElementHelper.cs
- DecoderNLS.cs
- BrowserDefinitionCollection.cs
- DataTableMappingCollection.cs
- DrawingContext.cs
- XPathNodeIterator.cs
- CodeExporter.cs
- ChtmlImageAdapter.cs
- CodeParameterDeclarationExpressionCollection.cs
- AudioBase.cs
- TreeViewImageIndexConverter.cs
- XmlTextEncoder.cs
- TileBrush.cs
- MimePart.cs
- SecurityUtils.cs
- Wrapper.cs
- ZoneButton.cs
- HttpChannelBindingToken.cs
- AncillaryOps.cs
- DbCommandTree.cs
- oledbmetadatacollectionnames.cs
- util.cs
- ValidationRule.cs
- DefaultProxySection.cs
- TransportManager.cs
- ScrollBarAutomationPeer.cs
- StringInfo.cs
- MatchAttribute.cs
- OleDbErrorCollection.cs
- Coordinator.cs
- XmlLanguageConverter.cs
- ThreadAbortException.cs
- CheckBoxBaseAdapter.cs
- HttpListener.cs
- AtomContentProperty.cs
- MsmqChannelFactoryBase.cs