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
- Helper.cs
- VisualTransition.cs
- FunctionGenerator.cs
- DataRelationCollection.cs
- EventLogPermission.cs
- NavigationFailedEventArgs.cs
- PhoneCallDesigner.cs
- ListViewPagedDataSource.cs
- SqlParameterCollection.cs
- ADMembershipProvider.cs
- FileLoadException.cs
- X509CertificateValidator.cs
- CoTaskMemHandle.cs
- NamespaceImport.cs
- ProfileInfo.cs
- MenuScrollingVisibilityConverter.cs
- ThreadAbortException.cs
- SapiRecognizer.cs
- DataTableMappingCollection.cs
- GridViewActionList.cs
- AnchoredBlock.cs
- PropertyGeneratedEventArgs.cs
- XmlSchemaAttributeGroup.cs
- AlgoModule.cs
- WebPartDescription.cs
- CustomSignedXml.cs
- DataGrid.cs
- ModelTreeEnumerator.cs
- DocumentAutomationPeer.cs
- CanonicalXml.cs
- TextDecoration.cs
- IndexedString.cs
- SerializationSectionGroup.cs
- TimeIntervalCollection.cs
- CodeTypeReferenceExpression.cs
- HtmlTextArea.cs
- TextServicesProperty.cs
- ProxyWebPartManagerDesigner.cs
- MetadataWorkspace.cs
- FixUp.cs
- FileIOPermission.cs
- ToolboxItemSnapLineBehavior.cs
- XPathSelfQuery.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XmlUtilWriter.cs
- StickyNoteContentControl.cs
- InheritedPropertyChangedEventArgs.cs
- GridEntryCollection.cs
- DateTimeConverter2.cs
- BitmapEffectState.cs
- WindowsFormsHost.cs
- RenameRuleObjectDialog.cs
- MostlySingletonList.cs
- RepeatButtonAutomationPeer.cs
- DataMemberFieldEditor.cs
- IsolatedStoragePermission.cs
- ZipArchive.cs
- TypeReference.cs
- FixedSOMTableCell.cs
- ConstraintEnumerator.cs
- DependencyPropertyConverter.cs
- XmlSchemaSet.cs
- MsmqIntegrationElement.cs
- TreeNodeStyle.cs
- RoutedEventHandlerInfo.cs
- DataGridItemEventArgs.cs
- ClipboardProcessor.cs
- HandleRef.cs
- unsafenativemethodstextservices.cs
- Crc32.cs
- DiscreteKeyFrames.cs
- XmlElementAttributes.cs
- PersonalizationDictionary.cs
- ProgressBarHighlightConverter.cs
- UnsafeNativeMethodsPenimc.cs
- InstanceCreationEditor.cs
- FamilyMapCollection.cs
- SiteMapPath.cs
- WeakReference.cs
- Config.cs
- FeatureSupport.cs
- HashAlgorithm.cs
- XmlCollation.cs
- CallbackHandler.cs
- FixUpCollection.cs
- XPathDocumentNavigator.cs
- ModuleConfigurationInfo.cs
- SafeHandle.cs
- SocketPermission.cs
- PaintEvent.cs
- InlineCollection.cs
- ToolStripTextBox.cs
- SymLanguageVendor.cs
- SettingsBase.cs
- JoinTreeSlot.cs
- DataRelation.cs
- TimerElapsedEvenArgs.cs
- CodeArrayIndexerExpression.cs
- TableRowGroupCollection.cs
- PropertyConverter.cs