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
- SerializationTrace.cs
- XPathDocumentBuilder.cs
- WebPartConnectionsConnectVerb.cs
- PerfCounters.cs
- GridLengthConverter.cs
- BinaryReader.cs
- ConversionContext.cs
- InheritanceContextChangedEventManager.cs
- StructuredTypeEmitter.cs
- GlyphManager.cs
- Math.cs
- Operand.cs
- SettingsAttributeDictionary.cs
- TransformPattern.cs
- GcSettings.cs
- BooleanStorage.cs
- Marshal.cs
- X509Certificate.cs
- CharUnicodeInfo.cs
- CorrelationQueryBehavior.cs
- DiscoveryDocument.cs
- TableCellCollection.cs
- CollectionEditorDialog.cs
- InfoCardProofToken.cs
- FilterElement.cs
- relpropertyhelper.cs
- RenderingEventArgs.cs
- BufferBuilder.cs
- SystemResources.cs
- CodeLinePragma.cs
- FrameworkRichTextComposition.cs
- CompilerErrorCollection.cs
- ConsoleKeyInfo.cs
- DynamicDiscoveryDocument.cs
- BrowsableAttribute.cs
- WindowsTokenRoleProvider.cs
- DataGridViewColumnCollectionEditor.cs
- ListViewItem.cs
- CompositeFontInfo.cs
- PrincipalPermission.cs
- ObjectListField.cs
- FrameDimension.cs
- ServiceModelConfiguration.cs
- StorageScalarPropertyMapping.cs
- CalendarDesigner.cs
- WebControlParameterProxy.cs
- ExtensibleClassFactory.cs
- AlternationConverter.cs
- PeerNode.cs
- DoubleLinkListEnumerator.cs
- ResourceDisplayNameAttribute.cs
- ControlBindingsCollection.cs
- RemotingServices.cs
- UnsafeNativeMethods.cs
- CFStream.cs
- WorkflowWebService.cs
- ContextMarshalException.cs
- AttributeProviderAttribute.cs
- Point3D.cs
- ResolveMatches11.cs
- InfiniteIntConverter.cs
- OciLobLocator.cs
- EntityProviderServices.cs
- EnumMember.cs
- Pair.cs
- streamingZipPartStream.cs
- documentation.cs
- PrtTicket_Public.cs
- InvokeGenerator.cs
- ReachUIElementCollectionSerializer.cs
- HitTestParameters.cs
- FrameworkElement.cs
- UnsafeNetInfoNativeMethods.cs
- ControlBuilderAttribute.cs
- EpmSourcePathSegment.cs
- Cursors.cs
- InstanceData.cs
- KnownTypesProvider.cs
- X509Chain.cs
- Normalization.cs
- AuthenticationModulesSection.cs
- UnionCqlBlock.cs
- TimeZone.cs
- KernelTypeValidation.cs
- DivideByZeroException.cs
- bidPrivateBase.cs
- FastPropertyAccessor.cs
- HttpProcessUtility.cs
- ConstraintConverter.cs
- StylusDownEventArgs.cs
- ProgressPage.cs
- BasicHttpBindingCollectionElement.cs
- DataGridTextBoxColumn.cs
- WebBrowserNavigatingEventHandler.cs
- Attributes.cs
- CodePageEncoding.cs
- CommonProperties.cs
- SessionStateModule.cs
- SerialPinChanges.cs
- TriState.cs