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
- IndexOutOfRangeException.cs
- DbConnectionPool.cs
- XsltArgumentList.cs
- Vector3D.cs
- CompressionTransform.cs
- SettingsBase.cs
- UnknownWrapper.cs
- HuffModule.cs
- _ServiceNameStore.cs
- ECDiffieHellman.cs
- ByteRangeDownloader.cs
- FileClassifier.cs
- TabControlAutomationPeer.cs
- PermissionSetTriple.cs
- KeyValueSerializer.cs
- BitmapEncoder.cs
- MsmqBindingBase.cs
- SystemIPInterfaceProperties.cs
- SamlAdvice.cs
- NamedObject.cs
- DataGridViewHeaderCell.cs
- PointAnimationUsingPath.cs
- CodeAttributeArgumentCollection.cs
- XmlCodeExporter.cs
- AccessedThroughPropertyAttribute.cs
- QilScopedVisitor.cs
- CompiledQueryCacheKey.cs
- BindingFormattingDialog.cs
- System.Data_BID.cs
- DataControlPagerLinkButton.cs
- PartitionerStatic.cs
- SoapIncludeAttribute.cs
- DataGridViewControlCollection.cs
- Membership.cs
- PanningMessageFilter.cs
- SmiRequestExecutor.cs
- SystemResources.cs
- StateManagedCollection.cs
- PropertyPushdownHelper.cs
- InkCanvasSelectionAdorner.cs
- SchemaHelper.cs
- BindStream.cs
- GeneralTransform.cs
- WebPartCancelEventArgs.cs
- OleDbCommandBuilder.cs
- SqlParameter.cs
- ErrorItem.cs
- WindowsGraphicsWrapper.cs
- EventLogPropertySelector.cs
- _Events.cs
- SurrogateEncoder.cs
- CodeStatement.cs
- ColumnProvider.cs
- AccessViolationException.cs
- COAUTHINFO.cs
- EntityDataSourceContextDisposingEventArgs.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- EdmMember.cs
- DiscoveryReferences.cs
- QilUnary.cs
- translator.cs
- RectangleHotSpot.cs
- OdbcStatementHandle.cs
- EncodingNLS.cs
- SecureConversationSecurityTokenParameters.cs
- FunctionNode.cs
- SoapServerProtocol.cs
- BitStream.cs
- TextStore.cs
- PermissionAttributes.cs
- followingsibling.cs
- RegistrationServices.cs
- VisualStyleRenderer.cs
- ProxyHwnd.cs
- safemediahandle.cs
- SystemThemeKey.cs
- ResourceAttributes.cs
- ActiveDocumentEvent.cs
- SerializationTrace.cs
- QueryComponents.cs
- TargetInvocationException.cs
- JumpPath.cs
- EditorPart.cs
- CustomErrorsSectionWrapper.cs
- BamlLocalizabilityResolver.cs
- HuffModule.cs
- DetailsViewUpdatedEventArgs.cs
- Camera.cs
- WrappedReader.cs
- ThrowHelper.cs
- NavigationProperty.cs
- SslStream.cs
- DeleteHelper.cs
- OleDbEnumerator.cs
- RuntimeHelpers.cs
- UserNameSecurityTokenAuthenticator.cs
- BindableTemplateBuilder.cs
- VectorCollectionConverter.cs
- DataGridViewCellCancelEventArgs.cs
- WebEncodingValidator.cs