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
- InProcStateClientManager.cs
- Classification.cs
- IDReferencePropertyAttribute.cs
- SettingsSavedEventArgs.cs
- UnmanagedHandle.cs
- PointConverter.cs
- ApplyTemplatesAction.cs
- MimePart.cs
- StatusBarAutomationPeer.cs
- DataTrigger.cs
- MonthCalendar.cs
- ConfigurationLocation.cs
- BuildManagerHost.cs
- OdbcDataReader.cs
- PrintingPermissionAttribute.cs
- FixedSOMTextRun.cs
- __Error.cs
- OracleConnection.cs
- QueryableFilterUserControl.cs
- BinaryObjectWriter.cs
- ParallelEnumerable.cs
- CheckedPointers.cs
- File.cs
- AssertSection.cs
- WebBrowserSiteBase.cs
- InternalCache.cs
- CodeAccessSecurityEngine.cs
- ProfilePropertySettings.cs
- CodePageUtils.cs
- unsafenativemethodstextservices.cs
- SolidColorBrush.cs
- SQLCharsStorage.cs
- OdbcEnvironmentHandle.cs
- Utilities.cs
- FlowNode.cs
- WindowShowOrOpenTracker.cs
- odbcmetadatafactory.cs
- TcpHostedTransportConfiguration.cs
- FileDialog.cs
- WindowsListViewSubItem.cs
- x509utils.cs
- WebPartConnectionsEventArgs.cs
- SizeChangedEventArgs.cs
- EUCJPEncoding.cs
- ObjectViewQueryResultData.cs
- IntSecurity.cs
- ByteAnimationUsingKeyFrames.cs
- StrokeIntersection.cs
- SmtpFailedRecipientException.cs
- MergablePropertyAttribute.cs
- MetadataStore.cs
- XsdValidatingReader.cs
- SoapCodeExporter.cs
- DesignerOptionService.cs
- oledbmetadatacollectionnames.cs
- BufferedStream.cs
- MethodExecutor.cs
- InputLangChangeRequestEvent.cs
- Dictionary.cs
- SessionEndingEventArgs.cs
- SrgsDocument.cs
- FontCacheUtil.cs
- ContentPresenter.cs
- Condition.cs
- IndentedTextWriter.cs
- FillBehavior.cs
- TextDpi.cs
- ResXBuildProvider.cs
- TwoPhaseCommit.cs
- ServiceNameElement.cs
- XhtmlBasicControlAdapter.cs
- SimpleWorkerRequest.cs
- PassportIdentity.cs
- InvalidOperationException.cs
- InternalsVisibleToAttribute.cs
- DataServiceHostFactory.cs
- CustomSignedXml.cs
- RtfToXamlReader.cs
- FixedSOMElement.cs
- IndexOutOfRangeException.cs
- AddInIpcChannel.cs
- StateDesigner.Helpers.cs
- TextOnlyOutput.cs
- Utility.cs
- DataSourceProvider.cs
- EncodingStreamWrapper.cs
- XPathDocumentIterator.cs
- CryptoSession.cs
- StringExpressionSet.cs
- HttpCookieCollection.cs
- FontFamily.cs
- _SslSessionsCache.cs
- XmlHierarchicalEnumerable.cs
- XPathNavigatorException.cs
- DataGridViewColumnCollection.cs
- BuildProvidersCompiler.cs
- DefaultSection.cs
- AppearanceEditorPart.cs
- ViewGenResults.cs
- PersistenceTypeAttribute.cs