Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetInvocationException.cs / 1305376 / 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)] #if FEATURE_CORECLR public sealed class TargetInvocationException : Exception { // hack to make thinner happy #if false } #endif #else public sealed class TargetInvocationException : ApplicationException { #endif //FEATURE_CORECLR // 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
- XmlSignatureProperties.cs
- DefaultEvaluationContext.cs
- Int32EqualityComparer.cs
- Geometry3D.cs
- XmlKeywords.cs
- XamlTypeMapper.cs
- HtmlInputControl.cs
- Int16Converter.cs
- GcHandle.cs
- MiniConstructorInfo.cs
- DifferencingCollection.cs
- ToolstripProfessionalRenderer.cs
- BitmapData.cs
- InstanceCompleteException.cs
- InternalConfigRoot.cs
- TextEditorSelection.cs
- ServiceContractViewControl.Designer.cs
- FromReply.cs
- TreeViewImageKeyConverter.cs
- keycontainerpermission.cs
- Converter.cs
- BamlWriter.cs
- DataGridViewImageCell.cs
- XmlSchemaGroup.cs
- Memoizer.cs
- ValueQuery.cs
- BoolLiteral.cs
- RawKeyboardInputReport.cs
- InlineUIContainer.cs
- SAPIEngineTypes.cs
- QilList.cs
- ToolStripDropDownMenu.cs
- DispatcherProcessingDisabled.cs
- ProfileEventArgs.cs
- CustomErrorCollection.cs
- DataStreams.cs
- Matrix.cs
- EventItfInfo.cs
- NetTcpBinding.cs
- CalendarTable.cs
- SessionSwitchEventArgs.cs
- HttpCookie.cs
- InternalBufferOverflowException.cs
- TCPListener.cs
- SingleTagSectionHandler.cs
- CodeMemberMethod.cs
- DataGridViewEditingControlShowingEventArgs.cs
- MetadataCache.cs
- PasswordDeriveBytes.cs
- TreeNodeBindingCollection.cs
- RowToParametersTransformer.cs
- MatrixAnimationBase.cs
- LayoutTable.cs
- OlePropertyStructs.cs
- DataControlImageButton.cs
- QilGeneratorEnv.cs
- AlignmentXValidation.cs
- PassportAuthenticationModule.cs
- SQLInt32Storage.cs
- XmlChoiceIdentifierAttribute.cs
- LogicalCallContext.cs
- InkCanvasSelectionAdorner.cs
- ConfigurationSectionGroup.cs
- NavigationPropertyEmitter.cs
- ObjectTag.cs
- HtmlControlAdapter.cs
- BitmapFrameEncode.cs
- DBConcurrencyException.cs
- RegexGroup.cs
- cookieexception.cs
- ActivityPropertyReference.cs
- AggregateNode.cs
- AnnotationResource.cs
- ServiceDescription.cs
- UnsafeNativeMethods.cs
- XmlSchemaSimpleTypeList.cs
- OciLobLocator.cs
- TimersDescriptionAttribute.cs
- SqlConnectionString.cs
- DataBindingList.cs
- AdministrationHelpers.cs
- EditorZone.cs
- DetailsViewInsertedEventArgs.cs
- MiniMapControl.xaml.cs
- UiaCoreProviderApi.cs
- TypeConverterHelper.cs
- SiblingIterators.cs
- SamlSecurityToken.cs
- ObjectDataSourceDisposingEventArgs.cs
- WindowsSecurityTokenAuthenticator.cs
- HtmlInputPassword.cs
- DataServiceHostFactory.cs
- HandoffBehavior.cs
- MaskDescriptors.cs
- ResourceDisplayNameAttribute.cs
- TraceSource.cs
- EncoderExceptionFallback.cs
- RemoteWebConfigurationHostServer.cs
- EntityException.cs
- WebPartsPersonalizationAuthorization.cs