Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AppAction.cs
- ToolStripProgressBar.cs
- DocumentViewerHelper.cs
- WpfWebRequestHelper.cs
- StateDesigner.CommentLayoutGlyph.cs
- ControlIdConverter.cs
- CustomLineCap.cs
- ConnectionProviderAttribute.cs
- PropertiesTab.cs
- SQLGuid.cs
- ComboBox.cs
- XmlNamespaceMappingCollection.cs
- StringWriter.cs
- sqlnorm.cs
- TrustLevel.cs
- NumberSubstitution.cs
- CodeSnippetExpression.cs
- TableColumnCollection.cs
- XmlWhitespace.cs
- XPathDocumentBuilder.cs
- UserCancellationException.cs
- DataTableNewRowEvent.cs
- WebPartConnectionsConfigureVerb.cs
- ProviderSettingsCollection.cs
- SqlReferenceCollection.cs
- NameValuePair.cs
- PersianCalendar.cs
- MimeBasePart.cs
- SimpleApplicationHost.cs
- Mutex.cs
- HtmlElement.cs
- EncoderReplacementFallback.cs
- TransactionFlowOption.cs
- QueryOptionExpression.cs
- ExtenderControl.cs
- WebPartManagerInternals.cs
- SwitchLevelAttribute.cs
- CustomBindingCollectionElement.cs
- EntityClientCacheKey.cs
- RecognizerBase.cs
- DataGridViewTopRowAccessibleObject.cs
- ElementUtil.cs
- Operators.cs
- Parser.cs
- FaultDescription.cs
- Semaphore.cs
- RootBrowserWindowAutomationPeer.cs
- FlowLayoutSettings.cs
- WsiProfilesElement.cs
- KeyFrames.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- UInt16.cs
- VirtualDirectoryMappingCollection.cs
- XmlCollation.cs
- FirstMatchCodeGroup.cs
- SessionStateUtil.cs
- ThemeDirectoryCompiler.cs
- DoubleStorage.cs
- DbProviderConfigurationHandler.cs
- ModelFunctionTypeElement.cs
- DoubleUtil.cs
- SecurityUtils.cs
- FormsAuthenticationCredentials.cs
- MetadataException.cs
- CmsInterop.cs
- ListSortDescriptionCollection.cs
- QueueProcessor.cs
- SizeAnimationBase.cs
- OleDbPermission.cs
- HttpModuleCollection.cs
- CryptoProvider.cs
- ClientSideQueueItem.cs
- TemplateParser.cs
- TargetInvocationException.cs
- CheckBoxAutomationPeer.cs
- RowToFieldTransformer.cs
- DescendantQuery.cs
- SecurityUniqueId.cs
- Guid.cs
- StandardMenuStripVerb.cs
- TypeResolvingOptions.cs
- Serializer.cs
- Scene3D.cs
- ValueProviderWrapper.cs
- CodeDirectiveCollection.cs
- GeometryValueSerializer.cs
- ThreadExceptionEvent.cs
- RuleSetDialog.Designer.cs
- MultiSelector.cs
- Rfc2898DeriveBytes.cs
- ReadOnlyCollection.cs
- HttpPostProtocolReflector.cs
- UnsafeNativeMethods.cs
- Camera.cs
- ResXResourceWriter.cs
- ExpressionBuilderContext.cs
- HyperLinkStyle.cs
- DataPagerCommandEventArgs.cs
- Bold.cs
- ClientTargetSection.cs