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
- TextServicesCompartmentEventSink.cs
- DetailsViewCommandEventArgs.cs
- RotateTransform.cs
- DataGridViewComboBoxColumn.cs
- LowerCaseStringConverter.cs
- HandleCollector.cs
- ConfigurationSection.cs
- SafeRegistryHandle.cs
- FixedPage.cs
- Tag.cs
- TypefaceMap.cs
- loginstatus.cs
- NavigationWindowAutomationPeer.cs
- DataKeyCollection.cs
- TableStyle.cs
- HttpWriter.cs
- UnicodeEncoding.cs
- RuntimeConfigLKG.cs
- OpenFileDialog.cs
- BreakRecordTable.cs
- QueryExpression.cs
- TextTreePropertyUndoUnit.cs
- ColorTranslator.cs
- KeyedCollection.cs
- DataBoundControlParameterTarget.cs
- TypeConverterAttribute.cs
- TextInfo.cs
- TdsParser.cs
- FindResponse.cs
- _ConnectionGroup.cs
- EntityClassGenerator.cs
- SizeConverter.cs
- SystemInfo.cs
- ChangePasswordAutoFormat.cs
- MeshGeometry3D.cs
- NativeObjectSecurity.cs
- DynamicDiscoSearcher.cs
- SQLInt64Storage.cs
- IRCollection.cs
- OleDbDataAdapter.cs
- X509PeerCertificateAuthentication.cs
- ReflectionServiceProvider.cs
- WhitespaceRule.cs
- DateTimeAutomationPeer.cs
- ExpressionLexer.cs
- CustomErrorsSection.cs
- PointCollection.cs
- SchemaMapping.cs
- XmlMemberMapping.cs
- Membership.cs
- CellConstant.cs
- RulePatternOps.cs
- TextParaLineResult.cs
- LinqDataSourceDisposeEventArgs.cs
- CheckBoxBaseAdapter.cs
- Monitor.cs
- UIElement3DAutomationPeer.cs
- ColorConvertedBitmapExtension.cs
- AmbientLight.cs
- KnownTypes.cs
- SqlDataSourceTableQuery.cs
- CompositeCollectionView.cs
- PersonalizationStateQuery.cs
- BamlMapTable.cs
- MarginsConverter.cs
- CellParagraph.cs
- CompositeDataBoundControl.cs
- SchemaRegistration.cs
- ConnectionPointCookie.cs
- ComplexObject.cs
- PTProvider.cs
- ByteAnimationUsingKeyFrames.cs
- UnsafeNativeMethods.cs
- KnownBoxes.cs
- EntityDataSourceQueryBuilder.cs
- BaseResourcesBuildProvider.cs
- SecurityException.cs
- WSFederationHttpSecurityMode.cs
- DataGridViewIntLinkedList.cs
- DecimalStorage.cs
- ObjectListItemCollection.cs
- XmlNamedNodeMap.cs
- DiscreteKeyFrames.cs
- ThreadStateException.cs
- ConcurrentQueue.cs
- X509CertificateCollection.cs
- StyleBamlTreeBuilder.cs
- PrinterSettings.cs
- PageThemeParser.cs
- HttpListenerException.cs
- XmlDataDocument.cs
- ApplicationInfo.cs
- RegexCompilationInfo.cs
- DictionaryBase.cs
- SettingsProperty.cs
- StylusCaptureWithinProperty.cs
- COSERVERINFO.cs
- XmlArrayItemAttribute.cs
- COM2AboutBoxPropertyDescriptor.cs
- Unit.cs