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
- WriteableBitmap.cs
- BaseDataList.cs
- TextFormatter.cs
- DockPattern.cs
- ParameterCollection.cs
- TimeSpanHelper.cs
- BinaryNode.cs
- ContextMenu.cs
- SqlTriggerContext.cs
- CharAnimationBase.cs
- Stackframe.cs
- EventLogEntry.cs
- shaper.cs
- RangeContentEnumerator.cs
- SettingsProviderCollection.cs
- IListConverters.cs
- PathSegmentCollection.cs
- EntityDataReader.cs
- IdentityReference.cs
- DataGridViewCell.cs
- CachedTypeface.cs
- DataGridViewTextBoxEditingControl.cs
- graph.cs
- ProxyElement.cs
- ConnectionStringsSection.cs
- ChangeBlockUndoRecord.cs
- WebPartConnectionsConfigureVerb.cs
- PrivilegedConfigurationManager.cs
- LeaseManager.cs
- DocumentOrderComparer.cs
- NamespaceMapping.cs
- LinkDescriptor.cs
- TypeResolver.cs
- ShapingEngine.cs
- HtmlInputSubmit.cs
- HandoffBehavior.cs
- oledbconnectionstring.cs
- Atom10FormatterFactory.cs
- UserControlParser.cs
- SendKeys.cs
- CompatibleIComparer.cs
- NonParentingControl.cs
- ResourceWriter.cs
- NativeDirectoryServicesQueryAPIs.cs
- BinaryObjectInfo.cs
- VScrollProperties.cs
- AlternationConverter.cs
- PerformanceCounterPermissionAttribute.cs
- OneOf.cs
- HttpCacheParams.cs
- CatalogPartChrome.cs
- FrameworkObject.cs
- StructuralComparisons.cs
- GridEntry.cs
- CommandPlan.cs
- LambdaReference.cs
- InputScopeAttribute.cs
- CustomLineCap.cs
- StorageConditionPropertyMapping.cs
- SecurityHelper.cs
- MethodBody.cs
- PointHitTestParameters.cs
- Point3DCollection.cs
- InsufficientMemoryException.cs
- Cursors.cs
- HtmlInputSubmit.cs
- MailSettingsSection.cs
- SafeReadContext.cs
- AdapterDictionary.cs
- RC2CryptoServiceProvider.cs
- externdll.cs
- TextProviderWrapper.cs
- SHA256.cs
- XmlSerializerAssemblyAttribute.cs
- ConstraintManager.cs
- BuildResult.cs
- AttributeEmitter.cs
- DrawListViewSubItemEventArgs.cs
- ConfigErrorGlyph.cs
- DatatypeImplementation.cs
- LOSFormatter.cs
- CollectionDataContract.cs
- ClockController.cs
- RectangleConverter.cs
- URLMembershipCondition.cs
- SnapshotChangeTrackingStrategy.cs
- ConstrainedGroup.cs
- MatrixAnimationUsingPath.cs
- CompilerInfo.cs
- MenuStrip.cs
- DeclarativeCatalogPart.cs
- SizeLimitedCache.cs
- InvalidOleVariantTypeException.cs
- ComponentResourceKeyConverter.cs
- RootBuilder.cs
- CmsInterop.cs
- SafeRightsManagementPubHandle.cs
- SerialErrors.cs
- RadioButtonRenderer.cs
- WsatServiceCertificate.cs