Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / StackOverflowException.cs / 1305376 / 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
- HtmlInputImage.cs
- RelativeSource.cs
- XPathScanner.cs
- MatchingStyle.cs
- IsolatedStorageSecurityState.cs
- TabItemAutomationPeer.cs
- SyndicationElementExtension.cs
- GlyphRunDrawing.cs
- DirectoryObjectSecurity.cs
- SortedDictionary.cs
- CallTemplateAction.cs
- PropertyNames.cs
- CannotUnloadAppDomainException.cs
- PinnedBufferMemoryStream.cs
- ZipIOCentralDirectoryFileHeader.cs
- ReadOnlyObservableCollection.cs
- RemotingConfiguration.cs
- EntityDataSourceChangingEventArgs.cs
- ConstructorBuilder.cs
- XmlReader.cs
- LifetimeMonitor.cs
- _LocalDataStoreMgr.cs
- EventMap.cs
- EpmContentDeSerializer.cs
- ItemCollection.cs
- KeyProperty.cs
- StdValidatorsAndConverters.cs
- NotifyParentPropertyAttribute.cs
- ComplusEndpointConfigContainer.cs
- SettingsPropertyIsReadOnlyException.cs
- ComplusTypeValidator.cs
- DataGridViewColumnTypeEditor.cs
- WindowsGraphics2.cs
- BinaryReader.cs
- StyleSelector.cs
- CompilerHelpers.cs
- SQLSingle.cs
- RoleManagerModule.cs
- WmlMobileTextWriter.cs
- messageonlyhwndwrapper.cs
- HuffModule.cs
- XmlSchemaType.cs
- Message.cs
- UnsafeNativeMethods.cs
- TableSectionStyle.cs
- SourceItem.cs
- DBSqlParserTableCollection.cs
- UMPAttributes.cs
- SmtpFailedRecipientException.cs
- FlowLayoutPanel.cs
- ReferencedAssemblyResolver.cs
- If.cs
- XmlAttributeAttribute.cs
- List.cs
- DynamicPropertyHolder.cs
- FileLoadException.cs
- LinqExpressionNormalizer.cs
- TemplatePropertyEntry.cs
- listitem.cs
- UriParserTemplates.cs
- SecurityTokenAuthenticator.cs
- _ChunkParse.cs
- ProfileSection.cs
- NoneExcludedImageIndexConverter.cs
- UIElementParaClient.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataServiceHostFactory.cs
- recordstate.cs
- SecureUICommand.cs
- OpenFileDialog.cs
- KeyValuePair.cs
- Debugger.cs
- StyleCollection.cs
- TextStore.cs
- InsufficientMemoryException.cs
- WebPartMovingEventArgs.cs
- DataGridViewEditingControlShowingEventArgs.cs
- WorkflowFileItem.cs
- HealthMonitoringSectionHelper.cs
- FileVersionInfo.cs
- GridViewItemAutomationPeer.cs
- TaskSchedulerException.cs
- TrustLevelCollection.cs
- PrintDialog.cs
- ProgressBarAutomationPeer.cs
- TableCell.cs
- ActiveXSite.cs
- Literal.cs
- DiscoveryDocument.cs
- XamlStream.cs
- _WinHttpWebProxyDataBuilder.cs
- DBSqlParserColumnCollection.cs
- WorkflowOwnerAsyncResult.cs
- TemplateKey.cs
- ApplicationServicesHostFactory.cs
- ProcessHost.cs
- EntitySqlQueryCacheEntry.cs
- GrammarBuilderBase.cs
- ServiceContractAttribute.cs
- ViewCellSlot.cs