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
- CodeCatchClause.cs
- MouseGesture.cs
- AtomContentProperty.cs
- SocketCache.cs
- FillErrorEventArgs.cs
- CustomAttributeSerializer.cs
- ExpressionLexer.cs
- RegexWriter.cs
- CatalogZone.cs
- MenuItem.cs
- Convert.cs
- DetailsViewUpdateEventArgs.cs
- PrimitiveType.cs
- SerializableAttribute.cs
- ping.cs
- TabletDeviceInfo.cs
- Messages.cs
- DocumentEventArgs.cs
- WindowsTooltip.cs
- SimpleHandlerFactory.cs
- assertwrapper.cs
- IntPtr.cs
- DateTimeOffsetConverter.cs
- StylusDownEventArgs.cs
- SafeFindHandle.cs
- AdPostCacheSubstitution.cs
- BadImageFormatException.cs
- AnnotationResourceCollection.cs
- DataServiceEntityAttribute.cs
- Inflater.cs
- ChtmlSelectionListAdapter.cs
- StringConverter.cs
- GridViewCommandEventArgs.cs
- DesigntimeLicenseContextSerializer.cs
- XmlIncludeAttribute.cs
- DesignerHost.cs
- DashStyle.cs
- ArgumentOutOfRangeException.cs
- IisTraceListener.cs
- ElementFactory.cs
- FormsAuthenticationConfiguration.cs
- WindowsListViewGroupSubsetLink.cs
- GeneralTransformGroup.cs
- SqlErrorCollection.cs
- XMLSyntaxException.cs
- ApplicationActivator.cs
- HostingEnvironmentException.cs
- BinaryKeyIdentifierClause.cs
- DurableInstancingOptions.cs
- AssemblyAttributes.cs
- ToolBarButton.cs
- LiteralControl.cs
- Dictionary.cs
- DbConnectionClosed.cs
- DrawingDrawingContext.cs
- AssociativeAggregationOperator.cs
- EventData.cs
- WindowVisualStateTracker.cs
- bindurihelper.cs
- SvcMapFileSerializer.cs
- pingexception.cs
- ComplexPropertyEntry.cs
- ReliableChannelListener.cs
- Mappings.cs
- X509InitiatorCertificateServiceElement.cs
- TextEditorDragDrop.cs
- CapacityStreamGeometryContext.cs
- WindowsRichEdit.cs
- NestedContainer.cs
- TextRangeEditLists.cs
- SignatureToken.cs
- DataGridViewCellEventArgs.cs
- HandlerBase.cs
- DataServiceQueryOfT.cs
- ObjectItemConventionAssemblyLoader.cs
- ObjRef.cs
- DiscoveryService.cs
- SQLRoleProvider.cs
- DoubleAnimationUsingPath.cs
- TextPattern.cs
- DocumentSequence.cs
- GridLengthConverter.cs
- DataGridViewRowCollection.cs
- ExportOptions.cs
- GcSettings.cs
- MenuEventArgs.cs
- SpStreamWrapper.cs
- Window.cs
- XPathQueryGenerator.cs
- WebBrowserSiteBase.cs
- AdRotator.cs
- xdrvalidator.cs
- XmlAttribute.cs
- DataTableExtensions.cs
- GeneralTransform3DGroup.cs
- SQLInt64Storage.cs
- TabItemAutomationPeer.cs
- StateItem.cs
- SafeArrayRankMismatchException.cs
- MsmqIntegrationSecurityElement.cs