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
- DirectoryGroupQuery.cs
- DbParameterHelper.cs
- PingReply.cs
- Currency.cs
- NotEqual.cs
- DateTime.cs
- RepeatBehaviorConverter.cs
- XPathNavigator.cs
- EntityContainer.cs
- JsonUriDataContract.cs
- EvidenceTypeDescriptor.cs
- DefaultAuthorizationContext.cs
- WmlLinkAdapter.cs
- FtpCachePolicyElement.cs
- _SSPIWrapper.cs
- SubqueryTrackingVisitor.cs
- XmlSchemaAny.cs
- IndexedGlyphRun.cs
- SHA1.cs
- XmlSchemaValidationException.cs
- TimeEnumHelper.cs
- InternalTypeHelper.cs
- SemanticBasicElement.cs
- MsmqReceiveHelper.cs
- Mouse.cs
- Color.cs
- ListParaClient.cs
- EncryptedKey.cs
- MissingMethodException.cs
- RoleGroupCollection.cs
- SpanIndex.cs
- InvalidPrinterException.cs
- RequestQueue.cs
- ArrayItemValue.cs
- ProgressBar.cs
- ElementsClipboardData.cs
- ConstrainedGroup.cs
- DeploymentExceptionMapper.cs
- Root.cs
- RepeaterItemEventArgs.cs
- HttpListenerException.cs
- unsafenativemethodsother.cs
- ControlValuePropertyAttribute.cs
- HotSpotCollection.cs
- ReflectTypeDescriptionProvider.cs
- XmlStringTable.cs
- TraceFilter.cs
- SapiRecoContext.cs
- StdValidatorsAndConverters.cs
- BitmapEffect.cs
- ListControl.cs
- EntitySetDataBindingList.cs
- UseLicense.cs
- TextElementEnumerator.cs
- CheckoutException.cs
- OdbcEnvironmentHandle.cs
- DictionaryChange.cs
- SQLInt64.cs
- EntityParameter.cs
- OdbcParameterCollection.cs
- AuthenticationModeHelper.cs
- OdbcConnectionStringbuilder.cs
- CompleteWizardStep.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DeflateEmulationStream.cs
- CompiledRegexRunner.cs
- MulticastIPAddressInformationCollection.cs
- PartitionerQueryOperator.cs
- webeventbuffer.cs
- TableStyle.cs
- ExecutorLocksHeldException.cs
- MultiByteCodec.cs
- SrgsRuleRef.cs
- ScrollBarRenderer.cs
- UnmanagedMarshal.cs
- ProtocolElementCollection.cs
- TimeEnumHelper.cs
- RequiredFieldValidator.cs
- ToolStripSettings.cs
- ArrayElementGridEntry.cs
- AssemblyNameProxy.cs
- PerformanceCountersElement.cs
- OleDbMetaDataFactory.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- XmlStreamStore.cs
- AnnotationComponentChooser.cs
- XmlSchemaInfo.cs
- COMException.cs
- DPAPIProtectedConfigurationProvider.cs
- UnmanagedMemoryStreamWrapper.cs
- HostingEnvironment.cs
- DataSourceControl.cs
- EventToken.cs
- RawAppCommandInputReport.cs
- XPathNodeHelper.cs
- MyContact.cs
- XmlParser.cs
- DataGridViewCell.cs
- Hyperlink.cs
- OdbcRowUpdatingEvent.cs