Code:
/ DotNET / DotNET / 8.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
- SecureEnvironment.cs
- SynchronizedDispatch.cs
- UnaryNode.cs
- DesignParameter.cs
- TextStore.cs
- SchemaNames.cs
- DataColumnMappingCollection.cs
- MainMenu.cs
- Rectangle.cs
- WorkflowInstance.cs
- Brushes.cs
- RoleManagerModule.cs
- WindowsListViewItemStartMenu.cs
- DbConnectionPoolIdentity.cs
- MultiDataTrigger.cs
- PanelStyle.cs
- ErrorInfoXmlDocument.cs
- PropertyGridCommands.cs
- CompareInfo.cs
- LinqDataView.cs
- ObjectTokenCategory.cs
- dbdatarecord.cs
- MaskInputRejectedEventArgs.cs
- DistinctQueryOperator.cs
- BroadcastEventHelper.cs
- LinqDataSourceValidationException.cs
- ResourceProviderFactory.cs
- HMACRIPEMD160.cs
- DefaultMemberAttribute.cs
- DataTable.cs
- XmlQueryStaticData.cs
- MethodImplAttribute.cs
- DataServiceQueryContinuation.cs
- ObjectParameterCollection.cs
- MenuItemCollectionEditor.cs
- WpfPayload.cs
- GraphicsContainer.cs
- SyndicationSerializer.cs
- RangeExpression.cs
- XmlSchemaObjectCollection.cs
- TextShapeableCharacters.cs
- ModelChangedEventArgsImpl.cs
- GradientStopCollection.cs
- PeerCollaboration.cs
- TableLayoutSettings.cs
- WebPartMinimizeVerb.cs
- UInt32Converter.cs
- DataConnectionHelper.cs
- ReachSerializer.cs
- DispatcherFrame.cs
- LocatorManager.cs
- CustomCategoryAttribute.cs
- AuthenticationModuleElement.cs
- FileDialogCustomPlace.cs
- SingleResultAttribute.cs
- PanelStyle.cs
- HttpCookiesSection.cs
- X509AsymmetricSecurityKey.cs
- DataComponentNameHandler.cs
- CodeExporter.cs
- DbBuffer.cs
- TrackingAnnotationCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AuthenticatedStream.cs
- SingleKeyFrameCollection.cs
- AsyncResult.cs
- RotateTransform.cs
- WeakHashtable.cs
- PartialCachingAttribute.cs
- PagedDataSource.cs
- DrawingImage.cs
- XmlSubtreeReader.cs
- BuildDependencySet.cs
- ColorDialog.cs
- filewebresponse.cs
- _ConnectionGroup.cs
- _SSPISessionCache.cs
- FloaterBaseParagraph.cs
- WriteableBitmap.cs
- ParagraphVisual.cs
- typedescriptorpermission.cs
- ComplexTypeEmitter.cs
- TextServicesCompartmentEventSink.cs
- Native.cs
- Point3DAnimation.cs
- SelectedDatesCollection.cs
- RuleSettingsCollection.cs
- UnsafeNativeMethods.cs
- MailMessageEventArgs.cs
- ExpressionTextBox.xaml.cs
- SmtpCommands.cs
- ISCIIEncoding.cs
- DecoratedNameAttribute.cs
- ObjectToIdCache.cs
- XmlTextEncoder.cs
- SmtpDigestAuthenticationModule.cs
- CodeAssignStatement.cs
- ListItemParagraph.cs
- RawAppCommandInputReport.cs
- EventLogEntry.cs