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
- Mapping.cs
- ListItemParagraph.cs
- NeutralResourcesLanguageAttribute.cs
- DefaultProfileManager.cs
- Group.cs
- TextRangeBase.cs
- SendContent.cs
- ModulesEntry.cs
- RowCache.cs
- VisualTreeUtils.cs
- MultiSelectRootGridEntry.cs
- TextPatternIdentifiers.cs
- WebPartCatalogAddVerb.cs
- Point3DIndependentAnimationStorage.cs
- WS2007HttpBindingElement.cs
- TabRenderer.cs
- BehaviorDragDropEventArgs.cs
- ProviderSettingsCollection.cs
- InputProcessorProfiles.cs
- ThreadStateException.cs
- XmlSchemaInclude.cs
- Int32.cs
- COM2PropertyBuilderUITypeEditor.cs
- Currency.cs
- EntityViewGenerator.cs
- GestureRecognizer.cs
- DesignerHelpers.cs
- EventLogPermissionAttribute.cs
- GeometryGroup.cs
- XmlElementAttribute.cs
- OleDbReferenceCollection.cs
- FixedTextContainer.cs
- DbConnectionOptions.cs
- AssemblyCache.cs
- MimeTypePropertyAttribute.cs
- SqlDataSourceStatusEventArgs.cs
- SiteMapDataSource.cs
- XmlDataDocument.cs
- CacheDependency.cs
- DataGridCellClipboardEventArgs.cs
- TreeWalker.cs
- XmlUnspecifiedAttribute.cs
- CurrentTimeZone.cs
- KnownBoxes.cs
- HtmlInputHidden.cs
- SQLInt16Storage.cs
- EvidenceBase.cs
- ObjectListGeneralPage.cs
- DataGridViewBand.cs
- LinearGradientBrush.cs
- GrabHandleGlyph.cs
- PositiveTimeSpanValidatorAttribute.cs
- PackageProperties.cs
- CategoryEditor.cs
- UniqueIdentifierService.cs
- NonParentingControl.cs
- MenuScrollingVisibilityConverter.cs
- Visitor.cs
- CodeObjectCreateExpression.cs
- DirectoryInfo.cs
- BooleanFacetDescriptionElement.cs
- EventTrigger.cs
- DBDataPermission.cs
- XPathScanner.cs
- BindingNavigator.cs
- XPathDocumentBuilder.cs
- BitArray.cs
- RelatedView.cs
- ToggleButton.cs
- EntityUtil.cs
- SimpleExpression.cs
- ZoomPercentageConverter.cs
- TTSEngineTypes.cs
- XPathBinder.cs
- InternalDuplexChannelListener.cs
- ParallelTimeline.cs
- ExpandableObjectConverter.cs
- AnimationLayer.cs
- ObjectConverter.cs
- CachedPathData.cs
- DBDataPermission.cs
- __ConsoleStream.cs
- XmlHierarchyData.cs
- NullableFloatMinMaxAggregationOperator.cs
- RegionData.cs
- CatalogZoneBase.cs
- ConsoleCancelEventArgs.cs
- ButtonBase.cs
- BackgroundWorker.cs
- ParallelTimeline.cs
- WindowsSysHeader.cs
- StringAnimationUsingKeyFrames.cs
- DbBuffer.cs
- NotFiniteNumberException.cs
- FrameworkElement.cs
- XmlDomTextWriter.cs
- SharedStatics.cs
- Evidence.cs
- ModifierKeysConverter.cs
- RequestBringIntoViewEventArgs.cs