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 / 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
- InitializingNewItemEventArgs.cs
- PolygonHotSpot.cs
- TimeSpanValidator.cs
- TreeBuilderXamlTranslator.cs
- TypeNameParser.cs
- SmtpCommands.cs
- oledbmetadatacollectionnames.cs
- EventLogTraceListener.cs
- SqlEnums.cs
- ScriptingJsonSerializationSection.cs
- Misc.cs
- WsiProfilesElement.cs
- CookielessHelper.cs
- WebPartEditorOkVerb.cs
- _SecureChannel.cs
- XmlSchemaDocumentation.cs
- DataServiceQueryProvider.cs
- StreamInfo.cs
- ButtonChrome.cs
- TextSelectionProcessor.cs
- ThicknessAnimationUsingKeyFrames.cs
- SizeLimitedCache.cs
- TableCellAutomationPeer.cs
- TripleDESCryptoServiceProvider.cs
- FrameworkElementFactory.cs
- SecurityPermission.cs
- CryptoProvider.cs
- XmlSecureResolver.cs
- Tracer.cs
- IMembershipProvider.cs
- StylusPointPropertyUnit.cs
- Process.cs
- DataSysAttribute.cs
- PrintPreviewControl.cs
- SoapFormatter.cs
- ConnectionStringsExpressionBuilder.cs
- ListViewAutomationPeer.cs
- TypeListConverter.cs
- IndexedGlyphRun.cs
- BeginEvent.cs
- FastEncoder.cs
- RuleInfoComparer.cs
- MenuAdapter.cs
- PeerNameRecord.cs
- QilDataSource.cs
- ValueUtilsSmi.cs
- DelegateTypeInfo.cs
- ListCardsInFileRequest.cs
- COM2Properties.cs
- MetadataCache.cs
- PopOutPanel.cs
- COM2ColorConverter.cs
- CryptoConfig.cs
- BindableAttribute.cs
- IdentityNotMappedException.cs
- NumberFunctions.cs
- PagerSettings.cs
- DelegateHelpers.Generated.cs
- ListViewInsertionMark.cs
- ConnectorMovedEventArgs.cs
- CodeTypeReferenceExpression.cs
- TimeSpanStorage.cs
- FontCollection.cs
- CustomCategoryAttribute.cs
- ProxyElement.cs
- DBDataPermission.cs
- MultiAsyncResult.cs
- PngBitmapEncoder.cs
- CodeMemberMethod.cs
- BamlCollectionHolder.cs
- ZipIOExtraFieldZip64Element.cs
- EventMappingSettingsCollection.cs
- JsonStringDataContract.cs
- PrinterUnitConvert.cs
- WindowsGraphics2.cs
- DateTimeConstantAttribute.cs
- ObjectComplexPropertyMapping.cs
- Pkcs7Signer.cs
- bidPrivateBase.cs
- Rect3DConverter.cs
- IndexedString.cs
- WebPartEditorCancelVerb.cs
- SqlStatistics.cs
- Model3D.cs
- DecryptedHeader.cs
- EventArgs.cs
- SizeConverter.cs
- ImageIndexConverter.cs
- ListenerAdapterBase.cs
- ManagementBaseObject.cs
- BasicExpandProvider.cs
- ServiceBuildProvider.cs
- Part.cs
- ScriptingWebServicesSectionGroup.cs
- XmlSchemaGroup.cs
- UserControlParser.cs
- ObfuscateAssemblyAttribute.cs
- CompositeCollection.cs
- XmlMtomWriter.cs
- RemoteWebConfigurationHostStream.cs