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
- FrameDimension.cs
- VectorKeyFrameCollection.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- DataBinding.cs
- SqlRowUpdatedEvent.cs
- ReadingWritingEntityEventArgs.cs
- GroupStyle.cs
- ServiceModelSecurityTokenTypes.cs
- ReferenceConverter.cs
- Page.cs
- EntityDataSourceMemberPath.cs
- CodeObject.cs
- LinqDataSourceHelper.cs
- ReadWriteSpinLock.cs
- FileFormatException.cs
- MappingItemCollection.cs
- MainMenu.cs
- HashSet.cs
- XmlComplianceUtil.cs
- NullableBoolConverter.cs
- TemplateManager.cs
- SystemInfo.cs
- TCPClient.cs
- baseaxisquery.cs
- TypeResolvingOptionsAttribute.cs
- Schema.cs
- OleDbParameter.cs
- LineServicesCallbacks.cs
- DataGridViewButtonColumn.cs
- SerializationAttributes.cs
- SqlBulkCopyColumnMappingCollection.cs
- AttachedAnnotationChangedEventArgs.cs
- TextWriter.cs
- LateBoundBitmapDecoder.cs
- ParameterBinding.cs
- BindStream.cs
- XmlDocumentViewSchema.cs
- VariantWrapper.cs
- ToolStripDropDownClosingEventArgs.cs
- TemplateKeyConverter.cs
- GetKeyedHashRequest.cs
- Size3DValueSerializer.cs
- ExtendedPropertyInfo.cs
- ToolStripSplitStackLayout.cs
- Policy.cs
- ExceptionUtil.cs
- WsdlEndpointConversionContext.cs
- NavigationExpr.cs
- AttachedPropertyMethodSelector.cs
- RelatedImageListAttribute.cs
- AssemblySettingAttributes.cs
- EventLogPermissionEntry.cs
- ConstraintStruct.cs
- UpdateTracker.cs
- ScopeCompiler.cs
- FontCollection.cs
- LinkedResource.cs
- Lock.cs
- x509store.cs
- SecurityTokenParameters.cs
- DataGridViewButtonColumn.cs
- PackageDigitalSignature.cs
- ListViewItemMouseHoverEvent.cs
- TriggerAction.cs
- TableHeaderCell.cs
- StrongTypingException.cs
- HtmlInputPassword.cs
- FileSystemEventArgs.cs
- ReferenceEqualityComparer.cs
- ListBoxItem.cs
- MenuStrip.cs
- ScaleTransform3D.cs
- FontEmbeddingManager.cs
- WindowsFormsHelpers.cs
- DataChangedEventManager.cs
- CommandValueSerializer.cs
- IPEndPointCollection.cs
- HtmlMeta.cs
- CfgParser.cs
- XmlPropertyBag.cs
- HitTestResult.cs
- StringArrayConverter.cs
- Automation.cs
- BindToObject.cs
- ListChangedEventArgs.cs
- DictionaryContent.cs
- RedBlackList.cs
- ControlCollection.cs
- UnsafeNetInfoNativeMethods.cs
- MediaTimeline.cs
- TreeNodeClickEventArgs.cs
- QilCloneVisitor.cs
- IsolatedStoragePermission.cs
- CategoryNameCollection.cs
- PropertyValueChangedEvent.cs
- BitmapImage.cs
- SByte.cs
- TextTreeTextElementNode.cs
- ByteAnimation.cs
- CloudCollection.cs