Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ToolStripComboBox.cs
- SoapCodeExporter.cs
- shaperfactory.cs
- TextBox.cs
- XmlChildEnumerator.cs
- WebPartExportVerb.cs
- ParentUndoUnit.cs
- EntityCommand.cs
- SymLanguageVendor.cs
- Line.cs
- Speller.cs
- ConstrainedGroup.cs
- SiteMapHierarchicalDataSourceView.cs
- Memoizer.cs
- SectionXmlInfo.cs
- UserValidatedEventArgs.cs
- ParserExtension.cs
- TypeToken.cs
- tooltip.cs
- DictionaryGlobals.cs
- EntityDataSourceDesigner.cs
- GPRECTF.cs
- DesignOnlyAttribute.cs
- CursorConverter.cs
- EntityDataSourceEntityTypeFilterItem.cs
- SafeHandle.cs
- AnimationException.cs
- WaitHandleCannotBeOpenedException.cs
- BaseTemplateBuildProvider.cs
- Constraint.cs
- RightsManagementPermission.cs
- XmlNotation.cs
- SchemaSetCompiler.cs
- SoapWriter.cs
- DataSourceCacheDurationConverter.cs
- AmbientProperties.cs
- DataServiceResponse.cs
- ClaimComparer.cs
- LifetimeServices.cs
- RuleInfoComparer.cs
- DecimalMinMaxAggregationOperator.cs
- CapabilitiesPattern.cs
- BuildProvidersCompiler.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- WebConfigurationHostFileChange.cs
- DataMember.cs
- DescendentsWalker.cs
- ExpressionEvaluator.cs
- SafeProcessHandle.cs
- StreamInfo.cs
- ClaimTypeElementCollection.cs
- GenericRootAutomationPeer.cs
- StringBuilder.cs
- HttpHeaderCollection.cs
- IteratorFilter.cs
- WebMessageEncoderFactory.cs
- MarginCollapsingState.cs
- BuildProvider.cs
- AuthenticationModuleElement.cs
- ModelUIElement3D.cs
- Selector.cs
- MailWebEventProvider.cs
- Visual3D.cs
- Duration.cs
- Configuration.cs
- EnumValidator.cs
- SimpleType.cs
- OdbcConnectionFactory.cs
- InstanceData.cs
- MatrixCamera.cs
- SplitContainerDesigner.cs
- EncryptedData.cs
- DoubleLinkList.cs
- CodeParameterDeclarationExpressionCollection.cs
- HttpWebRequest.cs
- COMException.cs
- ColorMatrix.cs
- DataSourceCache.cs
- RuntimeResourceSet.cs
- NumberFormatInfo.cs
- XmlQuerySequence.cs
- XmlLanguageConverter.cs
- EncoderFallback.cs
- _NegoState.cs
- Int32.cs
- RegistryPermission.cs
- CorrelationActionMessageFilter.cs
- PeerNameRecordCollection.cs
- ManagementOperationWatcher.cs
- ManagementQuery.cs
- Sequence.cs
- DataColumnCollection.cs
- UriSectionData.cs
- KeyNameIdentifierClause.cs
- Effect.cs
- WindowsHyperlink.cs
- HuffModule.cs
- DynamicPhysicalDiscoSearcher.cs
- ObjectResult.cs
- BitmapData.cs