Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / InvalidProgramException.cs / 1 / InvalidProgramException.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*==============================================================================
**
** Class: InvalidProgramException
**
**
** Purpose: The exception class for programs with invalid IL or bad metadata.
**
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.Serialization;
[Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class InvalidProgramException : SystemException {
public InvalidProgramException()
: base(Environment.GetResourceString("InvalidProgram_Default")) {
SetErrorCode(__HResults.COR_E_INVALIDPROGRAM);
}
public InvalidProgramException(String message)
: base(message) {
SetErrorCode(__HResults.COR_E_INVALIDPROGRAM);
}
public InvalidProgramException(String message, Exception inner)
: base(message, inner) {
SetErrorCode(__HResults.COR_E_INVALIDPROGRAM);
}
internal InvalidProgramException(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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VisualTreeHelper.cs
- Bits.cs
- CollectionDataContractAttribute.cs
- BufferedGraphicsContext.cs
- PixelShader.cs
- IdentityNotMappedException.cs
- StreamWriter.cs
- HtmlUtf8RawTextWriter.cs
- MgmtResManager.cs
- WindowsGrip.cs
- _FixedSizeReader.cs
- CategoryGridEntry.cs
- NetTcpSecurity.cs
- DataObjectCopyingEventArgs.cs
- MTConfigUtil.cs
- SmtpAuthenticationManager.cs
- NotFiniteNumberException.cs
- ThousandthOfEmRealDoubles.cs
- Int16Animation.cs
- MethodCallConverter.cs
- SafeViewOfFileHandle.cs
- PeerApplicationLaunchInfo.cs
- MetafileHeader.cs
- WebPartUtil.cs
- SaveFileDialog.cs
- ListBindingConverter.cs
- Pair.cs
- EndpointAddress10.cs
- ServiceErrorHandler.cs
- Positioning.cs
- ObjectSet.cs
- ParseChildrenAsPropertiesAttribute.cs
- OuterGlowBitmapEffect.cs
- PersonalizationState.cs
- ConsoleCancelEventArgs.cs
- CodeAccessPermission.cs
- ProcessHostServerConfig.cs
- DriveInfo.cs
- OrderedDictionaryStateHelper.cs
- PcmConverter.cs
- VerificationAttribute.cs
- UniformGrid.cs
- GridView.cs
- PlatformCulture.cs
- BitmapEffectInputConnector.cs
- DataGridAddNewRow.cs
- PathFigureCollection.cs
- UnsafeNativeMethods.cs
- LicFileLicenseProvider.cs
- ContainsRowNumberChecker.cs
- BitmapEffectrendercontext.cs
- DebugView.cs
- InputScope.cs
- glyphs.cs
- WorkflowDispatchContext.cs
- Logging.cs
- XmlSchemaImporter.cs
- DSACryptoServiceProvider.cs
- TypeDelegator.cs
- HwndPanningFeedback.cs
- UIElementParagraph.cs
- ConfigurationLoaderException.cs
- MobileComponentEditorPage.cs
- ResourceProviderFactory.cs
- TextRangeProviderWrapper.cs
- MenuItemAutomationPeer.cs
- Signature.cs
- WindowsListBox.cs
- _TransmitFileOverlappedAsyncResult.cs
- PopOutPanel.cs
- WebBrowserProgressChangedEventHandler.cs
- ReadOnlyTernaryTree.cs
- WebMessageEncodingElement.cs
- Select.cs
- SourceChangedEventArgs.cs
- ReverseQueryOperator.cs
- HttpConfigurationSystem.cs
- counter.cs
- SapiGrammar.cs
- XmlByteStreamReader.cs
- XmlWhitespace.cs
- ViewStateException.cs
- HotSpot.cs
- Group.cs
- EventTask.cs
- ConsoleTraceListener.cs
- followingsibling.cs
- ActivityValidator.cs
- DataList.cs
- Propagator.Evaluator.cs
- DeviceContexts.cs
- QilStrConcatenator.cs
- Section.cs
- Predicate.cs
- DbProviderFactory.cs
- TraceRecords.cs
- ActivationServices.cs
- XmlBinaryReader.cs
- COM2ExtendedTypeConverter.cs
- ExpandCollapseProviderWrapper.cs