Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Reflection / TargetException.cs / 1 / TargetException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetException is thrown when the target to an Invoke is invalid. This may // occur because the caller doesn't have access to the member, or the target doesn't // define the member, etc. // // // // namespace System.Reflection { using System; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public class TargetException : ApplicationException { public TargetException() : base() { SetErrorCode(__HResults.COR_E_TARGET); } public TargetException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGET); } public TargetException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGET); } protected TargetException(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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SpellerError.cs
- SqlFormatter.cs
- TagNameToTypeMapper.cs
- CompilationUtil.cs
- HyperLinkStyle.cs
- ISessionStateStore.cs
- ResourceWriter.cs
- TraceLevelHelper.cs
- ProcessHostConfigUtils.cs
- EditorBrowsableAttribute.cs
- EqualityComparer.cs
- PageStatePersister.cs
- ImageSource.cs
- MediaTimeline.cs
- ProxyWebPartManager.cs
- BindingMAnagerBase.cs
- SplineKeyFrames.cs
- BitmapMetadata.cs
- ReachVisualSerializer.cs
- BinarySerializer.cs
- SoapConverter.cs
- ElementUtil.cs
- DataGridViewElement.cs
- ResolveNextArgumentWorkItem.cs
- MULTI_QI.cs
- SelectionProcessor.cs
- WindowsEditBoxRange.cs
- CollectionBuilder.cs
- NetworkCredential.cs
- LinkClickEvent.cs
- DataServiceRequestOfT.cs
- SQLBoolean.cs
- MenuCommands.cs
- TextElementEnumerator.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- ProcessHostFactoryHelper.cs
- ThemeableAttribute.cs
- Exception.cs
- Boolean.cs
- ADMembershipUser.cs
- Switch.cs
- PriorityRange.cs
- UseLicense.cs
- SqlAliaser.cs
- TextBox.cs
- externdll.cs
- MembershipAdapter.cs
- EndEvent.cs
- IdentityValidationException.cs
- CompressionTracing.cs
- BackgroundWorker.cs
- XPathNavigatorKeyComparer.cs
- PasswordRecovery.cs
- MarginCollapsingState.cs
- XpsDigitalSignature.cs
- DataPagerFieldCommandEventArgs.cs
- SortQuery.cs
- SqlTypesSchemaImporter.cs
- StringKeyFrameCollection.cs
- HotSpotCollection.cs
- Evidence.cs
- EncoderNLS.cs
- SqlServices.cs
- PropertyPath.cs
- _NestedMultipleAsyncResult.cs
- XmlAutoDetectWriter.cs
- ListViewAutomationPeer.cs
- Marshal.cs
- RuntimeConfigurationRecord.cs
- ListViewItemMouseHoverEvent.cs
- WebBrowser.cs
- DataRow.cs
- StringValueSerializer.cs
- Themes.cs
- ValueProviderWrapper.cs
- Model3DGroup.cs
- DataObjectMethodAttribute.cs
- ServiceBehaviorElement.cs
- BamlStream.cs
- Buffer.cs
- RNGCryptoServiceProvider.cs
- StringCollection.cs
- BindingsCollection.cs
- DataGridTable.cs
- SkewTransform.cs
- PersonalizationProviderHelper.cs
- coordinatorscratchpad.cs
- PersonalizationState.cs
- DataTrigger.cs
- x509utils.cs
- DataFormats.cs
- UInt32Storage.cs
- xmlformatgeneratorstatics.cs
- UITypeEditors.cs
- ScrollPatternIdentifiers.cs
- ObjectContext.cs
- cryptoapiTransform.cs
- MatrixTransform.cs
- DescendantBaseQuery.cs
- DataGridViewCellLinkedList.cs