Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Reflection / TargetInvocationException.cs / 1 / TargetInvocationException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetInvocationException is used to report an exception that was thrown // by the target of an invocation. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetInvocationException : ApplicationException { // This exception is not creatable without specifying the // inner exception. private TargetInvocationException() : base(Environment.GetResourceString("Arg_TargetInvocationException")) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } // This is called from within the runtime. private TargetInvocationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(System.Exception inner) : base(Environment.GetResourceString("Arg_TargetInvocationException"), inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } internal TargetInvocationException(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. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetInvocationException is used to report an exception that was thrown // by the target of an invocation. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetInvocationException : ApplicationException { // This exception is not creatable without specifying the // inner exception. private TargetInvocationException() : base(Environment.GetResourceString("Arg_TargetInvocationException")) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } // This is called from within the runtime. private TargetInvocationException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(System.Exception inner) : base(Environment.GetResourceString("Arg_TargetInvocationException"), inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } public TargetInvocationException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETINVOCATION); } internal TargetInvocationException(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
- _HelperAsyncResults.cs
- RijndaelCryptoServiceProvider.cs
- EdmToObjectNamespaceMap.cs
- DataKeyArray.cs
- DesignerObject.cs
- BaseDataBoundControl.cs
- SharedPersonalizationStateInfo.cs
- ProtocolsConfigurationHandler.cs
- RandomNumberGenerator.cs
- DataGridViewDataErrorEventArgs.cs
- ModelUtilities.cs
- ParallelTimeline.cs
- TimerElapsedEvenArgs.cs
- HttpValueCollection.cs
- Version.cs
- UserMapPath.cs
- DateTimeFormatInfo.cs
- ComponentCodeDomSerializer.cs
- SingleAnimation.cs
- oledbmetadatacollectionnames.cs
- NativeMethods.cs
- EventsTab.cs
- Subset.cs
- WS2007FederationHttpBinding.cs
- ResumeStoryboard.cs
- ThemeableAttribute.cs
- PlatformNotSupportedException.cs
- StateManagedCollection.cs
- RequestUriProcessor.cs
- XNodeNavigator.cs
- TranslateTransform3D.cs
- MiniConstructorInfo.cs
- DbDataRecord.cs
- FrameDimension.cs
- BaseResourcesBuildProvider.cs
- ThreadSafeList.cs
- TextTreeTextNode.cs
- ConstNode.cs
- CurrentChangingEventArgs.cs
- SynchronizationContext.cs
- UriSection.cs
- RtfControls.cs
- CodeExpressionStatement.cs
- MasterPageBuildProvider.cs
- SelectionProviderWrapper.cs
- XmlEncoding.cs
- UriWriter.cs
- RNGCryptoServiceProvider.cs
- ObjectContext.cs
- TypeNameConverter.cs
- HttpApplicationStateBase.cs
- GradientStopCollection.cs
- AuthenticationModulesSection.cs
- NavigateEvent.cs
- MetadataHelper.cs
- ParameterCollection.cs
- TextProperties.cs
- AnnotationHighlightLayer.cs
- UrlMappingsModule.cs
- _SslState.cs
- FontWeights.cs
- NavigationPropertyAccessor.cs
- NamespaceEmitter.cs
- ProviderConnectionPoint.cs
- DocumentsTrace.cs
- HttpProfileGroupBase.cs
- DynamicQueryStringParameter.cs
- PEFileReader.cs
- WS2007HttpBindingElement.cs
- SudsParser.cs
- ObjectStateFormatter.cs
- ComboBox.cs
- XmlSchemaAppInfo.cs
- UniqueConstraint.cs
- CompareValidator.cs
- ParenthesizePropertyNameAttribute.cs
- WindowsStatic.cs
- TransportReplyChannelAcceptor.cs
- ControlValuePropertyAttribute.cs
- PeerInvitationResponse.cs
- ManipulationInertiaStartingEventArgs.cs
- HtmlTernaryTree.cs
- CompositeFontFamily.cs
- FileSystemEventArgs.cs
- PassportAuthentication.cs
- ProxyWebPartConnectionCollection.cs
- oledbmetadatacollectionnames.cs
- StorageEntityTypeMapping.cs
- PipelineComponent.cs
- HttpClientCertificate.cs
- FileFormatException.cs
- XamlBrushSerializer.cs
- _NetRes.cs
- ControlType.cs
- JsonReaderWriterFactory.cs
- OptimizedTemplateContent.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- MexHttpsBindingCollectionElement.cs
- BamlBinaryWriter.cs
- TcpChannelFactory.cs