Code:
/ FX-1434 / FX-1434 / 1.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
- WorkflowControlClient.cs
- XmlObjectSerializerWriteContextComplex.cs
- OleServicesContext.cs
- NumberFunctions.cs
- OperationAbortedException.cs
- AnimationStorage.cs
- CacheModeConverter.cs
- Directory.cs
- XmlStreamStore.cs
- MethodExpression.cs
- FrameworkContentElement.cs
- MsmqVerifier.cs
- FrameworkElementFactoryMarkupObject.cs
- Ipv6Element.cs
- WindowsListViewGroupHelper.cs
- Events.cs
- ColorConverter.cs
- SqlConnectionHelper.cs
- InvalidateEvent.cs
- ObjectDataSourceEventArgs.cs
- DataListItem.cs
- TcpConnectionPoolSettingsElement.cs
- Command.cs
- PersonalizationEntry.cs
- TransactionOptions.cs
- ReturnType.cs
- GcSettings.cs
- BuilderPropertyEntry.cs
- DecoderExceptionFallback.cs
- HelpProvider.cs
- ListBindingConverter.cs
- MaxValueConverter.cs
- TabControlCancelEvent.cs
- XhtmlConformanceSection.cs
- SafeNativeMethodsCLR.cs
- DrawToolTipEventArgs.cs
- CatalogPartChrome.cs
- objectquery_tresulttype.cs
- XamlDesignerSerializationManager.cs
- WMIGenerator.cs
- LayoutDump.cs
- AttributeEmitter.cs
- ClientTargetSection.cs
- PlainXmlSerializer.cs
- CornerRadius.cs
- VariableExpressionConverter.cs
- FontWeightConverter.cs
- PageClientProxyGenerator.cs
- HttpSysSettings.cs
- HostExecutionContextManager.cs
- CodeLabeledStatement.cs
- CharacterMetricsDictionary.cs
- BinaryObjectReader.cs
- Int64Converter.cs
- BindToObject.cs
- FixedLineResult.cs
- SystemIcons.cs
- Int32KeyFrameCollection.cs
- mda.cs
- TemplateControlParser.cs
- ExtenderProviderService.cs
- StreamFormatter.cs
- StylusPointCollection.cs
- MissingFieldException.cs
- TemplateBindingExpression.cs
- OdbcEnvironment.cs
- ConfigurationSchemaErrors.cs
- CancellationToken.cs
- ACE.cs
- SchemaNotation.cs
- ReadContentAsBinaryHelper.cs
- LayoutUtils.cs
- ILGenerator.cs
- ComboBoxAutomationPeer.cs
- ConfigsHelper.cs
- ProtocolsConfigurationEntry.cs
- FixedPage.cs
- DynamicPropertyHolder.cs
- BaseValidator.cs
- MatrixIndependentAnimationStorage.cs
- ConstraintStruct.cs
- TabControlAutomationPeer.cs
- XPathNodeIterator.cs
- Knowncolors.cs
- VisualBrush.cs
- SecurityTokenRequirement.cs
- XmlnsCompatibleWithAttribute.cs
- TableParaClient.cs
- StructuralCache.cs
- SystemShuttingDownException.cs
- TextFormatterContext.cs
- FullTextLine.cs
- OleDbRowUpdatingEvent.cs
- ListViewHitTestInfo.cs
- MouseGestureValueSerializer.cs
- LinqDataSourceContextData.cs
- InvokeGenerator.cs
- smtpconnection.cs
- IsolatedStorageFileStream.cs
- ComponentCodeDomSerializer.cs