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
- MarkupObject.cs
- HotSpotCollection.cs
- DataGridColumn.cs
- SettingsBase.cs
- MergeExecutor.cs
- _NTAuthentication.cs
- TemplatePagerField.cs
- X500Name.cs
- SerializationInfo.cs
- PropertyRecord.cs
- TagPrefixInfo.cs
- AudioFormatConverter.cs
- ProfileInfo.cs
- Rotation3DAnimation.cs
- WFItemsToSpacerVisibility.cs
- XmlSchemaIdentityConstraint.cs
- ProfileInfo.cs
- RepeaterItemCollection.cs
- FacetChecker.cs
- WeakEventTable.cs
- BinaryUtilClasses.cs
- BitmapImage.cs
- XmlTextWriter.cs
- NameScopePropertyAttribute.cs
- ItemList.cs
- Zone.cs
- UrlMappingCollection.cs
- StylusTouchDevice.cs
- GridViewColumn.cs
- cookie.cs
- X509AsymmetricSecurityKey.cs
- ConnectionManager.cs
- RelationshipType.cs
- ApplicationInterop.cs
- ExpressionPrefixAttribute.cs
- recordstatefactory.cs
- NestedContainer.cs
- HttpDebugHandler.cs
- WindowsFont.cs
- ListenerElementsCollection.cs
- FileInfo.cs
- EditorBrowsableAttribute.cs
- GlobalizationAssembly.cs
- SchemaImporterExtensionsSection.cs
- ForwardPositionQuery.cs
- EventDescriptorCollection.cs
- HttpServerVarsCollection.cs
- DocumentApplicationDocumentViewer.cs
- DataGridViewButtonColumn.cs
- RelationalExpressions.cs
- AutomationAttributeInfo.cs
- DataServiceResponse.cs
- CompositeFontFamily.cs
- NamedPipeAppDomainProtocolHandler.cs
- EntityDataSourceSelectedEventArgs.cs
- DefaultHttpHandler.cs
- TerminateSequenceResponse.cs
- PreApplicationStartMethodAttribute.cs
- Popup.cs
- References.cs
- _AutoWebProxyScriptWrapper.cs
- UIElement3D.cs
- Walker.cs
- XmlValueConverter.cs
- IndexedString.cs
- EdmItemError.cs
- DetailsViewModeEventArgs.cs
- IndexedEnumerable.cs
- ProbeDuplexCD1AsyncResult.cs
- SqlTransaction.cs
- MiniMapControl.xaml.cs
- _SslSessionsCache.cs
- SurrogateEncoder.cs
- NetTcpBinding.cs
- TypedElement.cs
- StateMachine.cs
- ExpressionBindingCollection.cs
- HelpKeywordAttribute.cs
- BitFlagsGenerator.cs
- EditingMode.cs
- VirtualDirectoryMappingCollection.cs
- FormsAuthenticationCredentials.cs
- CodePrimitiveExpression.cs
- HybridDictionary.cs
- WasHttpHandlersInstallComponent.cs
- OleDbDataAdapter.cs
- EventWaitHandle.cs
- EventManager.cs
- Frame.cs
- RefreshPropertiesAttribute.cs
- Selector.cs
- DocumentCollection.cs
- FullTextBreakpoint.cs
- EntityCommandDefinition.cs
- WebPartsPersonalizationAuthorization.cs
- X509SecurityTokenProvider.cs
- FlowNode.cs
- MasterPageParser.cs
- SwitchLevelAttribute.cs
- ConstraintManager.cs