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 / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProjectionCamera.cs
- ExceptionValidationRule.cs
- FlowDocumentFormatter.cs
- SiteIdentityPermission.cs
- TextCompositionEventArgs.cs
- ProcessHost.cs
- IERequestCache.cs
- WorkflowRuntimeBehavior.cs
- CacheDependency.cs
- SQLInt16.cs
- ParallelQuery.cs
- ProtectedProviderSettings.cs
- DataStreams.cs
- DocumentViewerConstants.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- AutomationAttributeInfo.cs
- UserPrincipalNameElement.cs
- XslNumber.cs
- VideoDrawing.cs
- GridViewRow.cs
- ClientSettingsProvider.cs
- DbModificationCommandTree.cs
- TimeSpan.cs
- CompModSwitches.cs
- DLinqAssociationProvider.cs
- WebPartsPersonalization.cs
- DictionaryEntry.cs
- WorkflowInlining.cs
- XMLDiffLoader.cs
- ReadOnlyDataSourceView.cs
- safemediahandle.cs
- Attributes.cs
- ToolStripItemImageRenderEventArgs.cs
- StringPropertyBuilder.cs
- BinHexDecoder.cs
- Expression.DebuggerProxy.cs
- NumericUpDownAccelerationCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SHA384.cs
- StreamInfo.cs
- AuthenticationManager.cs
- DesignerProperties.cs
- FileUtil.cs
- WebZone.cs
- ProvideValueServiceProvider.cs
- RepeatBehaviorConverter.cs
- DockPanel.cs
- ObjectTag.cs
- HijriCalendar.cs
- DataListItemEventArgs.cs
- BitmapImage.cs
- MetroSerializationManager.cs
- XamlParser.cs
- RegexTree.cs
- EntityDataSourceView.cs
- SeparatorAutomationPeer.cs
- AutoGeneratedFieldProperties.cs
- FormsAuthenticationUserCollection.cs
- SqlConnectionFactory.cs
- AttributedMetaModel.cs
- GZipStream.cs
- selecteditemcollection.cs
- HtmlInputImage.cs
- CursorConverter.cs
- GenericQueueSurrogate.cs
- CompilerResults.cs
- TimeSpan.cs
- AbsoluteQuery.cs
- CompilerHelpers.cs
- Int64AnimationUsingKeyFrames.cs
- UnsafeNativeMethods.cs
- LockedActivityGlyph.cs
- X509ThumbprintKeyIdentifierClause.cs
- CodeTypeParameterCollection.cs
- PathSegmentCollection.cs
- DBCommandBuilder.cs
- Expr.cs
- XmlArrayItemAttribute.cs
- UnknownBitmapDecoder.cs
- IteratorDescriptor.cs
- AxisAngleRotation3D.cs
- ADMembershipUser.cs
- FormViewRow.cs
- _LocalDataStore.cs
- GridView.cs
- Thickness.cs
- ISAPIApplicationHost.cs
- ResourceAttributes.cs
- MsdtcWrapper.cs
- MarshalByValueComponent.cs
- SoapAttributes.cs
- UpWmlPageAdapter.cs
- InvokeBinder.cs
- ResourceReferenceExpression.cs
- ObjectSpanRewriter.cs
- Size.cs
- XmlDataSource.cs
- MatrixValueSerializer.cs
- SimpleExpression.cs
- diagnosticsswitches.cs