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
- BaseProcessor.cs
- ReadContentAsBinaryHelper.cs
- HotSpotCollection.cs
- SerializationInfo.cs
- HttpDebugHandler.cs
- odbcmetadatacollectionnames.cs
- ButtonColumn.cs
- AuthenticateEventArgs.cs
- _SecureChannel.cs
- TopClause.cs
- ConfigurationSectionGroup.cs
- StorageInfo.cs
- PropertyIDSet.cs
- SystemUnicastIPAddressInformation.cs
- ApplicationDirectoryMembershipCondition.cs
- AssemblyAttributes.cs
- CompositeControl.cs
- ParameterToken.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- LinearGradientBrush.cs
- SystemTcpConnection.cs
- RangeBase.cs
- HtmlTitle.cs
- ReadWriteSpinLock.cs
- ProfileGroupSettings.cs
- XmlLoader.cs
- CollectionEditor.cs
- OptimizedTemplateContent.cs
- AppDomainUnloadedException.cs
- CheckBoxStandardAdapter.cs
- UnwrappedTypesXmlSerializerManager.cs
- Base64Decoder.cs
- RegexNode.cs
- DataAdapter.cs
- GeometryValueSerializer.cs
- SupportsPreviewControlAttribute.cs
- AsyncDataRequest.cs
- WorkflowServiceOperationListItem.cs
- CursorConverter.cs
- NetCodeGroup.cs
- NullToBooleanConverter.cs
- QilTypeChecker.cs
- ListViewInsertedEventArgs.cs
- StagingAreaInputItem.cs
- RotateTransform.cs
- FileClassifier.cs
- FlowchartStart.xaml.cs
- BrowserTree.cs
- Encoder.cs
- SymbolEqualComparer.cs
- SelectionHighlightInfo.cs
- PagesChangedEventArgs.cs
- QilStrConcat.cs
- AudioDeviceOut.cs
- CloudCollection.cs
- RecordsAffectedEventArgs.cs
- XmlSchemaValidator.cs
- CompositeCollectionView.cs
- PassportAuthenticationModule.cs
- ColorConvertedBitmap.cs
- Validator.cs
- DbConnectionPoolGroupProviderInfo.cs
- CodeDomConfigurationHandler.cs
- CodeNamespace.cs
- ObjectViewQueryResultData.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- LinkUtilities.cs
- Tag.cs
- LinqDataSourceUpdateEventArgs.cs
- TextStore.cs
- WindowsListViewGroupSubsetLink.cs
- TypeViewSchema.cs
- KnownTypesProvider.cs
- AssociationEndMember.cs
- MediaContext.cs
- IResourceProvider.cs
- TextServicesCompartmentEventSink.cs
- VectorConverter.cs
- DataServiceRequestOfT.cs
- SimpleWorkerRequest.cs
- ProofTokenCryptoHandle.cs
- FilteredReadOnlyMetadataCollection.cs
- TextPointerBase.cs
- ListViewAutomationPeer.cs
- WebServiceReceive.cs
- thaishape.cs
- DataGridCommandEventArgs.cs
- printdlgexmarshaler.cs
- HierarchicalDataTemplate.cs
- DynamicValidator.cs
- ToolStripRenderEventArgs.cs
- MoveSizeWinEventHandler.cs
- EastAsianLunisolarCalendar.cs
- ObjectTag.cs
- __ComObject.cs
- RuntimeVariablesExpression.cs
- Decorator.cs
- ListBase.cs
- WmlObjectListAdapter.cs
- QueryStatement.cs