Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Path.cs
- CodeTypeParameter.cs
- cookieexception.cs
- XamlPointCollectionSerializer.cs
- GetRecipientRequest.cs
- StrokeNodeEnumerator.cs
- MarkupCompiler.cs
- EnumType.cs
- MediaCommands.cs
- Comparer.cs
- InputElement.cs
- SmiConnection.cs
- OutputCacheSection.cs
- TemplatePagerField.cs
- ListBoxItemWrapperAutomationPeer.cs
- RefreshPropertiesAttribute.cs
- AnimationClock.cs
- PersonalizableTypeEntry.cs
- NoResizeSelectionBorderGlyph.cs
- TraceContextRecord.cs
- ClientSideQueueItem.cs
- ToolStripItemEventArgs.cs
- XmlWellformedWriter.cs
- RuntimeResourceSet.cs
- TemplateField.cs
- TreeBuilderBamlTranslator.cs
- counter.cs
- InputProcessorProfiles.cs
- PersonalizationState.cs
- ChtmlTextWriter.cs
- HtmlSelect.cs
- KnownBoxes.cs
- TrackingLocation.cs
- ObjectView.cs
- WindowClosedEventArgs.cs
- SinglePageViewer.cs
- SiteIdentityPermission.cs
- ISO2022Encoding.cs
- ExtensionSimplifierMarkupObject.cs
- VirtualDirectoryMappingCollection.cs
- CommonDialog.cs
- Random.cs
- PresentationAppDomainManager.cs
- StylusPlugInCollection.cs
- HostingEnvironmentSection.cs
- CollectionConverter.cs
- SQLStringStorage.cs
- HWStack.cs
- ScaleTransform.cs
- ApplicationDirectory.cs
- AttachedProperty.cs
- GetTokenRequest.cs
- RepeatButton.cs
- DuplexClientBase.cs
- DataControlPagerLinkButton.cs
- ProgressBar.cs
- EnumType.cs
- ExceptionDetail.cs
- ImageMetadata.cs
- ClientTarget.cs
- CommandBindingCollection.cs
- BinaryParser.cs
- SystemUdpStatistics.cs
- MetadataSerializer.cs
- HashMembershipCondition.cs
- SafeJobHandle.cs
- Quaternion.cs
- MediaSystem.cs
- PartialCachingAttribute.cs
- Hash.cs
- DynamicResourceExtensionConverter.cs
- WmlPanelAdapter.cs
- DynamicILGenerator.cs
- WebSysDescriptionAttribute.cs
- EndpointIdentity.cs
- IdentifierCollection.cs
- NativeRightsManagementAPIsStructures.cs
- SqlWebEventProvider.cs
- TypeDescriptionProvider.cs
- GraphicsPath.cs
- Vector3DAnimationBase.cs
- StateItem.cs
- DataGridSortCommandEventArgs.cs
- Mappings.cs
- SystemPens.cs
- CodeSubDirectoriesCollection.cs
- TabControl.cs
- WorkflowInstanceSuspendedRecord.cs
- DomainUpDown.cs
- DataGridViewSelectedColumnCollection.cs
- TypeUnloadedException.cs
- ButtonBase.cs
- SmiRequestExecutor.cs
- FormatSettings.cs
- ResXResourceSet.cs
- StatusStrip.cs
- ObjectMemberMapping.cs
- WindowPattern.cs
- TimeSpan.cs
- XmlAnyElementAttribute.cs