Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PropertyPathConverter.cs
- OleDbConnectionInternal.cs
- LocalizeDesigner.cs
- ContextItem.cs
- SigningCredentials.cs
- ToolStripItemEventArgs.cs
- EmptyEnumerator.cs
- HttpApplication.cs
- FrameworkPropertyMetadata.cs
- DisableDpiAwarenessAttribute.cs
- QueryServiceConfigHandle.cs
- ContainerAction.cs
- TreeViewItemAutomationPeer.cs
- DashStyles.cs
- SelectionProviderWrapper.cs
- StrokeDescriptor.cs
- IpcManager.cs
- XmlNamespaceMapping.cs
- ItemAutomationPeer.cs
- CacheMode.cs
- Roles.cs
- DataGridCell.cs
- Property.cs
- PermissionRequestEvidence.cs
- BasicHttpBinding.cs
- WebPartCancelEventArgs.cs
- FontStretches.cs
- DateTimeUtil.cs
- TextViewBase.cs
- DefaultDiscoveryService.cs
- NameTable.cs
- XmlUnspecifiedAttribute.cs
- Command.cs
- HttpStreamXmlDictionaryReader.cs
- TextEncodedRawTextWriter.cs
- C14NUtil.cs
- ParameterToken.cs
- ProcessInputEventArgs.cs
- SqlDataRecord.cs
- JavaScriptObjectDeserializer.cs
- Parameter.cs
- RegexParser.cs
- XmlValidatingReader.cs
- KoreanLunisolarCalendar.cs
- ZipIOCentralDirectoryFileHeader.cs
- DisplayInformation.cs
- ProviderException.cs
- Column.cs
- _ConnectOverlappedAsyncResult.cs
- SingleObjectCollection.cs
- login.cs
- PlanCompilerUtil.cs
- DeviceFiltersSection.cs
- TryCatch.cs
- DataViewSettingCollection.cs
- IconConverter.cs
- NumericExpr.cs
- DoubleCollection.cs
- ServiceOperationListItemList.cs
- ItemChangedEventArgs.cs
- SourceSwitch.cs
- XmlSchemaAttributeGroup.cs
- XmlComment.cs
- MetadataItemSerializer.cs
- GridViewRowPresenter.cs
- SafeCloseHandleCritical.cs
- HttpResponseInternalWrapper.cs
- NavigationWindowAutomationPeer.cs
- JsonFormatReaderGenerator.cs
- DispatcherObject.cs
- CacheAxisQuery.cs
- GridProviderWrapper.cs
- SnapLine.cs
- ContentType.cs
- PostBackTrigger.cs
- ControlFilterExpression.cs
- GridSplitterAutomationPeer.cs
- SqlDataSourceCommandEventArgs.cs
- _ProxyChain.cs
- ImageUrlEditor.cs
- InkPresenterAutomationPeer.cs
- DataControlFieldHeaderCell.cs
- ConfigurationValidatorBase.cs
- AttributeQuery.cs
- ToolboxItemLoader.cs
- XamlFxTrace.cs
- CodeTypeOfExpression.cs
- LinqDataSourceValidationException.cs
- XsdDataContractExporter.cs
- HighlightComponent.cs
- WeakReferenceEnumerator.cs
- FloaterParaClient.cs
- HttpCapabilitiesSectionHandler.cs
- DoubleCollectionConverter.cs
- ToolStripComboBox.cs
- PreviousTrackingServiceAttribute.cs
- LocalizationParserHooks.cs
- IisNotInstalledException.cs
- SupportedAddressingMode.cs
- NewItemsContextMenuStrip.cs