Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SourceFileBuildProvider.cs
- GridItemProviderWrapper.cs
- Visitors.cs
- ColorBuilder.cs
- EditCommandColumn.cs
- NavigationExpr.cs
- TypeLoadException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ApplicationDirectory.cs
- LinkLabel.cs
- TreeViewItemAutomationPeer.cs
- CultureTable.cs
- MetafileEditor.cs
- CounterSetInstance.cs
- EdmTypeAttribute.cs
- SafeCryptContextHandle.cs
- WebPartZoneCollection.cs
- ItemsChangedEventArgs.cs
- NotificationContext.cs
- SoapMessage.cs
- DuplicateContext.cs
- InfoCardBaseException.cs
- ChannelSinkStacks.cs
- DesignTimeVisibleAttribute.cs
- Vector3DCollection.cs
- HwndProxyElementProvider.cs
- WebPartConnectionsConfigureVerb.cs
- ServiceDurableInstance.cs
- PlatformCulture.cs
- BorderGapMaskConverter.cs
- FilterElement.cs
- FormViewCommandEventArgs.cs
- SqlConnectionHelper.cs
- XmlEntity.cs
- ImageField.cs
- DocumentGridContextMenu.cs
- ApplicationManager.cs
- mansign.cs
- Menu.cs
- FileUtil.cs
- ClickablePoint.cs
- ResolvedKeyFrameEntry.cs
- ListItem.cs
- MD5CryptoServiceProvider.cs
- MemberBinding.cs
- COM2ColorConverter.cs
- EnlistmentTraceIdentifier.cs
- Overlapped.cs
- AnimationTimeline.cs
- ApplicationBuildProvider.cs
- PackagePart.cs
- IntellisenseTextBox.designer.cs
- XsltSettings.cs
- UTF32Encoding.cs
- UnionCodeGroup.cs
- XmlSchemaCollection.cs
- GenericTextProperties.cs
- PublisherMembershipCondition.cs
- RightsDocument.cs
- ChooseAction.cs
- ConstrainedDataObject.cs
- RoleManagerSection.cs
- TextRunCache.cs
- Form.cs
- FileEnumerator.cs
- TextRangeEdit.cs
- NavigationFailedEventArgs.cs
- StringSorter.cs
- base64Transforms.cs
- EncryptedData.cs
- PagerSettings.cs
- TimelineGroup.cs
- Journaling.cs
- PointConverter.cs
- ReflectionUtil.cs
- TextTrailingCharacterEllipsis.cs
- EntityCommand.cs
- UserPersonalizationStateInfo.cs
- HttpPostedFileWrapper.cs
- Mutex.cs
- handlecollector.cs
- StopStoryboard.cs
- TransactionBridge.cs
- ServiceReference.cs
- VirtualPathData.cs
- StructuralCache.cs
- EventLogReader.cs
- OleDbPermission.cs
- DataTableMappingCollection.cs
- GraphicsContainer.cs
- DataViewSetting.cs
- ListBox.cs
- PersonalizationProvider.cs
- ScrollItemPatternIdentifiers.cs
- QueryCacheEntry.cs
- PaperSource.cs
- FormViewModeEventArgs.cs
- FontResourceCache.cs
- ServiceNameElementCollection.cs
- ConstraintCollection.cs