Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DispatchChannelSink.cs
- XmlAttribute.cs
- XmlUtil.cs
- PrinterResolution.cs
- ConnectionPoolRegistry.cs
- WindowsGraphics.cs
- LambdaCompiler.Binary.cs
- PlanCompilerUtil.cs
- DisplayInformation.cs
- CodeMemberField.cs
- EdgeProfileValidation.cs
- CheckBoxBaseAdapter.cs
- ServiceEndpoint.cs
- RuntimeHandles.cs
- ChtmlCommandAdapter.cs
- ISAPIRuntime.cs
- Compiler.cs
- MouseGestureValueSerializer.cs
- SpellerError.cs
- CompositeActivityDesigner.cs
- UnsafeNativeMethods.cs
- ToolStripSystemRenderer.cs
- MatchingStyle.cs
- ServiceObjectContainer.cs
- ReadWriteControlDesigner.cs
- CodeMemberField.cs
- DiscardableAttribute.cs
- AdRotator.cs
- PeerNameRegistration.cs
- FontSizeConverter.cs
- WrapPanel.cs
- CodeBinaryOperatorExpression.cs
- ChangePassword.cs
- SpeechEvent.cs
- PropertyTab.cs
- RightsManagementUser.cs
- CodeVariableDeclarationStatement.cs
- RemotingSurrogateSelector.cs
- EncoderBestFitFallback.cs
- TypeSchema.cs
- RtfToXamlLexer.cs
- ProfileBuildProvider.cs
- DataError.cs
- XmlCharType.cs
- ConsoleKeyInfo.cs
- ExpressionConverter.cs
- DataGridCaption.cs
- PropertyOverridesDialog.cs
- AuthenticationService.cs
- NonParentingControl.cs
- TabletDeviceInfo.cs
- UrlMappingsModule.cs
- WindowsToolbarAsMenu.cs
- Int64Converter.cs
- ToolStripScrollButton.cs
- XmlSerializationWriter.cs
- XhtmlConformanceSection.cs
- AxWrapperGen.cs
- CompilerTypeWithParams.cs
- SemaphoreFullException.cs
- RequestCacheManager.cs
- HtmlTableCell.cs
- ActivityScheduledQuery.cs
- ProjectedSlot.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- PointAnimationUsingPath.cs
- GridPattern.cs
- PermissionAttributes.cs
- RegionData.cs
- XmlWhitespace.cs
- xmlglyphRunInfo.cs
- SrgsElementFactoryCompiler.cs
- GenericRootAutomationPeer.cs
- SQLBoolean.cs
- RoleManagerSection.cs
- OleDbConnectionFactory.cs
- SamlDoNotCacheCondition.cs
- SystemGatewayIPAddressInformation.cs
- PermissionListSet.cs
- DesignerActionPanel.cs
- XmlSchemaGroup.cs
- PropertyAccessVisitor.cs
- Matrix3D.cs
- FixedSOMFixedBlock.cs
- safex509handles.cs
- EditBehavior.cs
- _FtpDataStream.cs
- CursorConverter.cs
- ReachFixedDocumentSerializerAsync.cs
- ReverseInheritProperty.cs
- ByteStreamGeometryContext.cs
- ResourceDescriptionAttribute.cs
- BooleanStorage.cs
- EntityParameterCollection.cs
- CodeGeneratorOptions.cs
- GenericWebPart.cs
- TrackingLocationCollection.cs
- ConfigurationSchemaErrors.cs
- ProcessThreadDesigner.cs
- ExclusiveHandle.cs