Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Bezier.cs
- SubqueryTrackingVisitor.cs
- BitmapSource.cs
- WebPartVerbsEventArgs.cs
- UIElement3D.cs
- KnownBoxes.cs
- HandlerBase.cs
- FrameworkElement.cs
- PermissionAttributes.cs
- RewritingValidator.cs
- WebBodyFormatMessageProperty.cs
- XmlDomTextWriter.cs
- ParallelLoopState.cs
- CharacterHit.cs
- WebColorConverter.cs
- PointCollection.cs
- TraceContext.cs
- CachedCompositeFamily.cs
- VirtualizedCellInfoCollection.cs
- TableParagraph.cs
- GlobalEventManager.cs
- Triangle.cs
- CreateUserErrorEventArgs.cs
- UserControlParser.cs
- ISCIIEncoding.cs
- WorkflowInstanceExtensionManager.cs
- Empty.cs
- FirstMatchCodeGroup.cs
- FormatSelectingMessageInspector.cs
- DataGridViewColumnDesigner.cs
- XmlUtf8RawTextWriter.cs
- FastEncoder.cs
- HttpRequest.cs
- FixedSOMTableCell.cs
- DBDataPermission.cs
- AsmxEndpointPickerExtension.cs
- ValidationHelper.cs
- Calendar.cs
- Exceptions.cs
- PolicyImporterElement.cs
- StrokeNode.cs
- contentDescriptor.cs
- EventSinkHelperWriter.cs
- SplitterPanel.cs
- CodeLinePragma.cs
- VoiceChangeEventArgs.cs
- LabelLiteral.cs
- ConfigurationStrings.cs
- SweepDirectionValidation.cs
- Activity.cs
- NamespaceDecl.cs
- StrokeNodeEnumerator.cs
- CurrentTimeZone.cs
- Rect3DConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- MessageRpc.cs
- RSAOAEPKeyExchangeFormatter.cs
- CodeDomConfigurationHandler.cs
- ToolBarPanel.cs
- Crypto.cs
- WCFServiceClientProxyGenerator.cs
- COM2ComponentEditor.cs
- EventPrivateKey.cs
- LocalizedNameDescriptionPair.cs
- DictationGrammar.cs
- UserPreferenceChangedEventArgs.cs
- AttachmentService.cs
- BigInt.cs
- BindingList.cs
- WsdlInspector.cs
- CommentAction.cs
- CodeGen.cs
- HtmlToClrEventProxy.cs
- EasingKeyFrames.cs
- MexBindingBindingCollectionElement.cs
- ArrayListCollectionBase.cs
- UnsignedPublishLicense.cs
- XslException.cs
- NCryptSafeHandles.cs
- InputScopeNameConverter.cs
- GroupBox.cs
- SqlBulkCopyColumnMapping.cs
- WindowShowOrOpenTracker.cs
- PointIndependentAnimationStorage.cs
- DescendantOverDescendantQuery.cs
- IInstanceTable.cs
- ParallelLoopState.cs
- CommandSet.cs
- DbConnectionPoolIdentity.cs
- CompositeCollection.cs
- WindowsListViewScroll.cs
- TailPinnedEventArgs.cs
- CodeAccessSecurityEngine.cs
- WebPartManagerInternals.cs
- ToolStripRenderer.cs
- TrustManagerPromptUI.cs
- UseManagedPresentationBindingElement.cs
- AstNode.cs
- FixUpCollection.cs
- ExpressionCopier.cs