Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeSet.cs
- SystemColors.cs
- PropertyGridEditorPart.cs
- TableRow.cs
- HttpHandlerActionCollection.cs
- FontFamily.cs
- PropertyChangingEventArgs.cs
- TextTreeObjectNode.cs
- SortKey.cs
- ProcessThread.cs
- ResumeStoryboard.cs
- EntityDesignerBuildProvider.cs
- TcpChannelFactory.cs
- DataGridColumnEventArgs.cs
- SmtpAuthenticationManager.cs
- DataGridState.cs
- MultiDataTrigger.cs
- AssemblyFilter.cs
- NetSectionGroup.cs
- CompareInfo.cs
- ObjectDataSourceMethodEventArgs.cs
- Privilege.cs
- ActivityStateRecord.cs
- AlphabeticalEnumConverter.cs
- TransformValueSerializer.cs
- RuntimeHelpers.cs
- EntityViewGenerationConstants.cs
- RandomNumberGenerator.cs
- PasswordPropertyTextAttribute.cs
- SettingsAttributes.cs
- SaveFileDialog.cs
- DbParameterCollectionHelper.cs
- XamlSerializerUtil.cs
- Executor.cs
- SRDisplayNameAttribute.cs
- SchemaElementLookUpTable.cs
- EmissiveMaterial.cs
- PackWebRequestFactory.cs
- WhitespaceSignificantCollectionAttribute.cs
- Matrix.cs
- RTTypeWrapper.cs
- DrawItemEvent.cs
- BinaryObjectReader.cs
- SapiRecoContext.cs
- XmlSchemaExternal.cs
- RemoveStoryboard.cs
- ReflectTypeDescriptionProvider.cs
- SecurityCriticalDataForSet.cs
- BlobPersonalizationState.cs
- HttpHandlersSection.cs
- DataGridViewImageCell.cs
- BamlRecordReader.cs
- MergeLocalizationDirectives.cs
- externdll.cs
- RegexInterpreter.cs
- Transform3D.cs
- MultiTouchSystemGestureLogic.cs
- NetPipeSectionData.cs
- ScrollPattern.cs
- NumericPagerField.cs
- DataGridViewCellConverter.cs
- WindowsScroll.cs
- Bezier.cs
- DbInsertCommandTree.cs
- TemplateParser.cs
- Attributes.cs
- ThemeInfoAttribute.cs
- CodeExporter.cs
- PrintDocument.cs
- TransactedBatchingElement.cs
- ByteStreamMessageEncodingElement.cs
- OleDbFactory.cs
- SmiRecordBuffer.cs
- EncoderNLS.cs
- PersonalizationDictionary.cs
- Documentation.cs
- MouseDevice.cs
- WebPartConnectionsDisconnectVerb.cs
- WindowsFormsHelpers.cs
- XmlEntityReference.cs
- HttpPostedFileWrapper.cs
- SqlDataSourceQueryEditorForm.cs
- HtmlInputReset.cs
- XmlSchemaInclude.cs
- ContextMarshalException.cs
- Viewport3DVisual.cs
- IdentitySection.cs
- DataGridViewColumnTypeEditor.cs
- SqlDataRecord.cs
- QueryContinueDragEvent.cs
- Figure.cs
- StorageEntityTypeMapping.cs
- OdbcDataReader.cs
- KoreanLunisolarCalendar.cs
- EventTrigger.cs
- BStrWrapper.cs
- LostFocusEventManager.cs
- PathSegment.cs
- ErrorWrapper.cs
- ApplyImportsAction.cs