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
- DocumentPageView.cs
- mediapermission.cs
- AuthenticationServiceManager.cs
- VScrollBar.cs
- ValuePattern.cs
- PointF.cs
- BaseParagraph.cs
- SuppressIldasmAttribute.cs
- ILGen.cs
- XPathScanner.cs
- ConfigurationManagerHelper.cs
- CodeDirectionExpression.cs
- DataGridViewRowEventArgs.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- UserControlBuildProvider.cs
- StylusPointDescription.cs
- UntypedNullExpression.cs
- MessageDesigner.cs
- TextTreeRootNode.cs
- DBBindings.cs
- WebBrowserSiteBase.cs
- FrameworkTemplate.cs
- WindowsStreamSecurityElement.cs
- FontNamesConverter.cs
- SQLInt16.cs
- CodeActivityContext.cs
- MemberRelationshipService.cs
- WebDescriptionAttribute.cs
- DateTimePicker.cs
- PageThemeCodeDomTreeGenerator.cs
- WSSecureConversationFeb2005.cs
- ChannelServices.cs
- ListCollectionView.cs
- StringDictionaryEditor.cs
- CodeGotoStatement.cs
- SqlTypeSystemProvider.cs
- ContextConfiguration.cs
- TransactionChannelListener.cs
- PageTheme.cs
- ScriptingWebServicesSectionGroup.cs
- ValidationErrorEventArgs.cs
- BitmapEffectInputData.cs
- ScriptManager.cs
- _SafeNetHandles.cs
- TreeView.cs
- TreeViewImageIndexConverter.cs
- SatelliteContractVersionAttribute.cs
- DeploymentSection.cs
- KeyGesture.cs
- TypeDescriptorFilterService.cs
- SerializationFieldInfo.cs
- HtmlInputControl.cs
- CommunicationObjectManager.cs
- SharedConnectionListener.cs
- InputElement.cs
- RowParagraph.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ByteFacetDescriptionElement.cs
- WeakRefEnumerator.cs
- ImageMapEventArgs.cs
- AutoResetEvent.cs
- ConnectionStringSettings.cs
- VBIdentifierNameEditor.cs
- CellRelation.cs
- DesignColumnCollection.cs
- LineSegment.cs
- RegionData.cs
- ListManagerBindingsCollection.cs
- CollectionViewGroupInternal.cs
- MetadataPropertyAttribute.cs
- PeerName.cs
- BulletDecorator.cs
- MaskDesignerDialog.cs
- DataGridViewComponentPropertyGridSite.cs
- ContentPresenter.cs
- SiteMapPath.cs
- WorkBatch.cs
- DateTimeFormat.cs
- WebServiceClientProxyGenerator.cs
- DispatcherObject.cs
- SqlCacheDependencySection.cs
- DbCommandTree.cs
- FixedFindEngine.cs
- WebBrowserDocumentCompletedEventHandler.cs
- TextTreeTextElementNode.cs
- ReceiveContent.cs
- SelectedDatesCollection.cs
- GeometryHitTestParameters.cs
- ObjectToken.cs
- QueryStringParameter.cs
- PolyLineSegment.cs
- LOSFormatter.cs
- BitmapSource.cs
- ValidatedControlConverter.cs
- TextPointer.cs
- QueryGeneratorBase.cs
- DetailsViewModeEventArgs.cs
- ActivityStatusChangeEventArgs.cs
- LocalizationComments.cs
- Control.cs