Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetInvocationException.cs / 1305376 / 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)] #if FEATURE_CORECLR public sealed class TargetInvocationException : Exception { // hack to make thinner happy #if false } #endif #else public sealed class TargetInvocationException : ApplicationException { #endif //FEATURE_CORECLR // 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
- Html32TextWriter.cs
- PageParser.cs
- FormConverter.cs
- NGCUIElementCollectionSerializerAsync.cs
- EnumUnknown.cs
- Sequence.cs
- BufferedStream.cs
- Cursor.cs
- DataDocumentXPathNavigator.cs
- SQLInt64Storage.cs
- FileRecordSequenceCompletedAsyncResult.cs
- EUCJPEncoding.cs
- webclient.cs
- panel.cs
- BitSet.cs
- WebBrowserUriTypeConverter.cs
- Selection.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DeclarationUpdate.cs
- _LazyAsyncResult.cs
- SocketElement.cs
- NumericPagerField.cs
- NamedPermissionSet.cs
- ElementHostPropertyMap.cs
- XmlUTF8TextWriter.cs
- XmlSchemaInferenceException.cs
- SignatureDescription.cs
- DrawingCollection.cs
- PostBackOptions.cs
- XmlSchemaInfo.cs
- UrlPropertyAttribute.cs
- ContractNamespaceAttribute.cs
- SafeFileMapViewHandle.cs
- LoginNameDesigner.cs
- BrowserDefinition.cs
- DBCommand.cs
- DetailsViewActionList.cs
- EntityCommand.cs
- ResumeStoryboard.cs
- CopyAction.cs
- DataGridLength.cs
- DataGridView.cs
- BlurBitmapEffect.cs
- Size.cs
- DirectoryNotFoundException.cs
- Matrix.cs
- FilteredDataSetHelper.cs
- XomlCompilerParameters.cs
- EntityContainer.cs
- URIFormatException.cs
- BroadcastEventHelper.cs
- UnsafeNativeMethods.cs
- AnimationException.cs
- BitmapEffectGroup.cs
- HtmlToClrEventProxy.cs
- QuaternionAnimation.cs
- ToolStripComboBox.cs
- Int32Collection.cs
- ImageMapEventArgs.cs
- AdRotator.cs
- LayoutTableCell.cs
- SoapReflectionImporter.cs
- IProvider.cs
- XmlNodeList.cs
- XmlCountingReader.cs
- altserialization.cs
- EmbeddedMailObject.cs
- SafeReadContext.cs
- ListDictionary.cs
- WSTransactionSection.cs
- ConfigWriter.cs
- PermissionSetTriple.cs
- MetadataItem.cs
- DataGridViewComboBoxColumn.cs
- ParserStreamGeometryContext.cs
- TabControlAutomationPeer.cs
- FillBehavior.cs
- RealizationDrawingContextWalker.cs
- SqlInternalConnectionSmi.cs
- MethodCallTranslator.cs
- QuadraticEase.cs
- DispatcherHooks.cs
- UIElementAutomationPeer.cs
- OleDbStruct.cs
- AssemblyHash.cs
- DispatcherFrame.cs
- CompilerGlobalScopeAttribute.cs
- WrappedIUnknown.cs
- Animatable.cs
- ProfessionalColorTable.cs
- DataGridViewRowEventArgs.cs
- COMException.cs
- userdatakeys.cs
- HttpRequest.cs
- SettingsBindableAttribute.cs
- EntityTypeEmitter.cs
- SqlDataSourceDesigner.cs
- InkCanvasAutomationPeer.cs
- ListenerHandler.cs
- ParamArrayAttribute.cs