Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OneOfScalarConst.cs
- DynamicPropertyHolder.cs
- QilXmlWriter.cs
- LogLogRecordEnumerator.cs
- XMLDiffLoader.cs
- SessionStateModule.cs
- ComEventsHelper.cs
- EdmFunction.cs
- StructuralObject.cs
- SelectionPatternIdentifiers.cs
- ParserHooks.cs
- AudienceUriMode.cs
- columnmapfactory.cs
- Label.cs
- KeyValueSerializer.cs
- DigitalSignature.cs
- XmlSchemaExternal.cs
- RelationshipFixer.cs
- UserControlCodeDomTreeGenerator.cs
- Cursor.cs
- ReceiveActivityDesigner.cs
- PointCollectionConverter.cs
- ProcessThreadCollection.cs
- ExpanderAutomationPeer.cs
- Util.cs
- Message.cs
- ScriptingJsonSerializationSection.cs
- DrawingGroup.cs
- DebuggerService.cs
- TrackingProfileSerializer.cs
- SecurityPolicySection.cs
- MenuRendererStandards.cs
- ButtonPopupAdapter.cs
- GacUtil.cs
- DBBindings.cs
- NetPeerTcpBindingElement.cs
- ExternalException.cs
- FixedMaxHeap.cs
- BlobPersonalizationState.cs
- DoubleAnimationUsingPath.cs
- RtfControls.cs
- MatrixCamera.cs
- Group.cs
- Journaling.cs
- GestureRecognitionResult.cs
- ConnectionPointGlyph.cs
- TrackingDataItemValue.cs
- StrokeNodeOperations.cs
- XmlSchemaRedefine.cs
- EventSinkHelperWriter.cs
- MembershipPasswordException.cs
- MenuAdapter.cs
- FormViewInsertedEventArgs.cs
- Debug.cs
- JumpTask.cs
- StreamInfo.cs
- DataGridViewSelectedColumnCollection.cs
- AssemblySettingAttributes.cs
- BindValidationContext.cs
- UrlAuthFailureHandler.cs
- TableLayoutPanelCodeDomSerializer.cs
- TcpStreams.cs
- FtpCachePolicyElement.cs
- WebPartTracker.cs
- NativeMsmqMessage.cs
- CodeValidator.cs
- MediaElementAutomationPeer.cs
- EntityDesignerDataSourceView.cs
- UriExt.cs
- EntityClientCacheEntry.cs
- AssociativeAggregationOperator.cs
- VectorCollection.cs
- RegexCapture.cs
- Message.cs
- TransactionContextValidator.cs
- UnsafeNetInfoNativeMethods.cs
- SqlPersonalizationProvider.cs
- InheritanceService.cs
- CommunicationObjectAbortedException.cs
- CompressedStack.cs
- PlainXmlDeserializer.cs
- FrameAutomationPeer.cs
- WhitespaceRuleLookup.cs
- TableHeaderCell.cs
- DataGridLength.cs
- ApplicationBuildProvider.cs
- HttpStreamFormatter.cs
- PowerStatus.cs
- HttpWriter.cs
- JsonServiceDocumentSerializer.cs
- PerformanceCounterNameAttribute.cs
- Clipboard.cs
- WSTransactionSection.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TextBox.cs
- NetworkStream.cs
- CreateUserWizardStep.cs
- MetadataPropertyAttribute.cs
- FocusWithinProperty.cs
- Evaluator.cs