Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IFormattable.cs
- __ComObject.cs
- initElementDictionary.cs
- CompilerHelpers.cs
- XmlUtil.cs
- SystemWebExtensionsSectionGroup.cs
- PersistenceProviderBehavior.cs
- SqlDataSource.cs
- ThreadStaticAttribute.cs
- Image.cs
- ClientBuildManager.cs
- HijriCalendar.cs
- OdbcDataReader.cs
- XmlDataLoader.cs
- BaseCodePageEncoding.cs
- TextChangedEventArgs.cs
- BuildProviderUtils.cs
- NameObjectCollectionBase.cs
- TraceProvider.cs
- ComponentResourceKeyConverter.cs
- UnaryQueryOperator.cs
- TreeNode.cs
- Stream.cs
- WsdlBuildProvider.cs
- TextParaLineResult.cs
- SiteMapDataSourceView.cs
- HtmlInputRadioButton.cs
- ParserContext.cs
- UserControlCodeDomTreeGenerator.cs
- ResourceDisplayNameAttribute.cs
- PrintDialog.cs
- SimpleMailWebEventProvider.cs
- StylusTip.cs
- HtmlMeta.cs
- ListViewCancelEventArgs.cs
- RangeValueProviderWrapper.cs
- RuntimeHandles.cs
- LocalizationComments.cs
- EntityDataSource.cs
- updatecommandorderer.cs
- Base64Encoder.cs
- HttpListenerPrefixCollection.cs
- EditorZoneBase.cs
- FileLogRecordHeader.cs
- OleServicesContext.cs
- DynamicMetaObject.cs
- ClientRuntimeConfig.cs
- ThemeableAttribute.cs
- ToolStripPanelSelectionGlyph.cs
- ComAdminInterfaces.cs
- LayoutEditorPart.cs
- DBProviderConfigurationHandler.cs
- ArraySubsetEnumerator.cs
- FilterQuery.cs
- SystemParameters.cs
- TrackBarRenderer.cs
- BamlBinaryReader.cs
- WindowsIPAddress.cs
- MenuItem.cs
- ResourceBinder.cs
- RelatedView.cs
- SimpleTextLine.cs
- NewExpression.cs
- WebPartCancelEventArgs.cs
- Point3DCollectionValueSerializer.cs
- RC2CryptoServiceProvider.cs
- FillErrorEventArgs.cs
- ComponentDispatcherThread.cs
- SafeLibraryHandle.cs
- AppDomainUnloadedException.cs
- XPathNavigator.cs
- SessionEndedEventArgs.cs
- SingleKeyFrameCollection.cs
- GradientStop.cs
- SoundPlayerAction.cs
- ValidationRule.cs
- SafeHandles.cs
- PartialArray.cs
- MarginsConverter.cs
- Operators.cs
- WbemException.cs
- MethodMessage.cs
- PageAsyncTask.cs
- BinaryCommonClasses.cs
- URL.cs
- OverlappedAsyncResult.cs
- PageVisual.cs
- ProgressBar.cs
- SessionStateUtil.cs
- MultiViewDesigner.cs
- DataPointer.cs
- Lease.cs
- ToolStripMenuItem.cs
- ClassGenerator.cs
- ReadContentAsBinaryHelper.cs
- FlagsAttribute.cs
- ConnectionInterfaceCollection.cs
- PerfService.cs
- DomNameTable.cs
- ConnectionManagementElement.cs