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
- UnaryQueryOperator.cs
- Typography.cs
- DataBoundControlAdapter.cs
- RenderTargetBitmap.cs
- Pens.cs
- RenderingEventArgs.cs
- GeneratedView.cs
- RootBuilder.cs
- VectorAnimationUsingKeyFrames.cs
- ConnectionManagementSection.cs
- SimpleExpression.cs
- OwnerDrawPropertyBag.cs
- HttpCookie.cs
- StringWriter.cs
- TabItem.cs
- CustomActivityDesigner.cs
- ProjectionPruner.cs
- CacheSection.cs
- TreeViewEvent.cs
- SwitchLevelAttribute.cs
- UpdatableGenericsFeature.cs
- TargetParameterCountException.cs
- MouseButtonEventArgs.cs
- PageParserFilter.cs
- LineServicesRun.cs
- WebPartPersonalization.cs
- ipaddressinformationcollection.cs
- WebRequestModuleElement.cs
- ExeContext.cs
- OleDbDataAdapter.cs
- RefreshEventArgs.cs
- GeometryGroup.cs
- ComAwareEventInfo.cs
- XmlDataLoader.cs
- SystemException.cs
- UpWmlPageAdapter.cs
- HtmlElementEventArgs.cs
- EventProviderBase.cs
- NameHandler.cs
- MultiSelectRootGridEntry.cs
- TreeNodeClickEventArgs.cs
- DesignConnectionCollection.cs
- MimeTypePropertyAttribute.cs
- Interlocked.cs
- SocketElement.cs
- ImageMap.cs
- ConnectionsZoneDesigner.cs
- DataShape.cs
- ValidationError.cs
- ModelServiceImpl.cs
- LongTypeConverter.cs
- LinqDataSourceContextEventArgs.cs
- Thread.cs
- DesignerView.cs
- DispatcherObject.cs
- WorkflowServiceOperationListItem.cs
- QueryContinueDragEventArgs.cs
- RootCodeDomSerializer.cs
- DescendantBaseQuery.cs
- TextSimpleMarkerProperties.cs
- UDPClient.cs
- Converter.cs
- XmlSortKey.cs
- WaitHandleCannotBeOpenedException.cs
- SynchronizedInputHelper.cs
- ASCIIEncoding.cs
- HttpDictionary.cs
- TableCellCollection.cs
- ContentPlaceHolder.cs
- ObjectTypeMapping.cs
- GenericsNotImplementedException.cs
- CodeSubDirectoriesCollection.cs
- NavigationWindowAutomationPeer.cs
- COAUTHIDENTITY.cs
- XmlReader.cs
- WebBrowserContainer.cs
- OledbConnectionStringbuilder.cs
- SqlDependencyUtils.cs
- ValidatorCollection.cs
- EntityException.cs
- NaturalLanguageHyphenator.cs
- DoubleAnimationBase.cs
- DocumentViewerHelper.cs
- SamlAdvice.cs
- PeerObject.cs
- COM2ExtendedTypeConverter.cs
- KeyboardDevice.cs
- FindCriteria11.cs
- ToolStripRenderEventArgs.cs
- AssemblyCollection.cs
- MenuEventArgs.cs
- ThaiBuddhistCalendar.cs
- UrlMappingsSection.cs
- TreeNode.cs
- XamlStyleSerializer.cs
- PolicyUnit.cs
- InheritablePropertyChangeInfo.cs
- SqlNotificationEventArgs.cs
- UshortList2.cs
- NetTcpSecurityElement.cs