Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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) {
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// 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) {
}
}
}
// 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
- DataGridColumn.cs
- Dump.cs
- MaterialGroup.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DbConnectionPoolIdentity.cs
- EntityDataSourceEntitySetNameItem.cs
- StyleCollection.cs
- DataViewSetting.cs
- LingerOption.cs
- CachedFontFace.cs
- SmiRequestExecutor.cs
- RunInstallerAttribute.cs
- AsyncCompletedEventArgs.cs
- EvidenceTypeDescriptor.cs
- PropertyFilterAttribute.cs
- OciLobLocator.cs
- ErrorHandlerModule.cs
- DefaultSection.cs
- HMACSHA512.cs
- ContentControl.cs
- MapPathBasedVirtualPathProvider.cs
- PenThread.cs
- SecurityTokenAuthenticator.cs
- UnmanagedMarshal.cs
- URI.cs
- WebBrowserBase.cs
- BulletChrome.cs
- ItemAutomationPeer.cs
- InputBuffer.cs
- CommandBindingCollection.cs
- DataGridItemAttachedStorage.cs
- OutputCacheSection.cs
- Query.cs
- recordstate.cs
- ImageCollectionCodeDomSerializer.cs
- ScriptingJsonSerializationSection.cs
- ImportCatalogPart.cs
- RequestTimeoutManager.cs
- ValidationSummary.cs
- XmlSchemaDocumentation.cs
- UiaCoreProviderApi.cs
- GradientSpreadMethodValidation.cs
- CustomAssemblyResolver.cs
- _LocalDataStoreMgr.cs
- DataGridColumn.cs
- PartialArray.cs
- FlowDocumentReader.cs
- XamlClipboardData.cs
- UserCancellationException.cs
- ProgressBarRenderer.cs
- DataConnectionHelper.cs
- WinEventWrap.cs
- ControlCollection.cs
- DeviceSpecific.cs
- Rectangle.cs
- Size.cs
- BitmapDownload.cs
- DescendentsWalkerBase.cs
- SqlExpander.cs
- PriorityItem.cs
- BitmapEffectInput.cs
- ExpressionConverter.cs
- ExcludePathInfo.cs
- XPathBinder.cs
- FormViewUpdateEventArgs.cs
- Bezier.cs
- ToolboxItemImageConverter.cs
- TypeDescriptor.cs
- DynamicValidatorEventArgs.cs
- WMICapabilities.cs
- WorkflowInvoker.cs
- EventLog.cs
- NonVisualControlAttribute.cs
- HttpListenerContext.cs
- NegationPusher.cs
- Roles.cs
- ServiceContractGenerationContext.cs
- XmlDataSource.cs
- ButtonFlatAdapter.cs
- _ConnectionGroup.cs
- ComponentChangedEvent.cs
- EventLogHandle.cs
- StoreAnnotationsMap.cs
- ListViewAutomationPeer.cs
- ContentValidator.cs
- Compiler.cs
- RectangleHotSpot.cs
- WebPartDisplayModeCollection.cs
- ApplicationActivator.cs
- DelegatingTypeDescriptionProvider.cs
- NameTable.cs
- ContractUtils.cs
- UInt16Converter.cs
- QilScopedVisitor.cs
- ToolStripManager.cs
- DbTransaction.cs
- InlinedAggregationOperator.cs
- Models.cs
- NonBatchDirectoryCompiler.cs
- CustomErrorCollection.cs