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
- DataListCommandEventArgs.cs
- BordersPage.cs
- HtmlImageAdapter.cs
- WmlPageAdapter.cs
- InkCollectionBehavior.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XPathException.cs
- Page.cs
- ReachPageContentCollectionSerializer.cs
- FontDialog.cs
- IndexerNameAttribute.cs
- NativeActivityTransactionContext.cs
- ColorContext.cs
- FocusWithinProperty.cs
- ItemCheckedEvent.cs
- WindowsGraphicsWrapper.cs
- CellTreeNode.cs
- PatternMatcher.cs
- WindowsTooltip.cs
- ToolStripGripRenderEventArgs.cs
- ResolvedKeyFrameEntry.cs
- ExtensibleSyndicationObject.cs
- FontDialog.cs
- ListControlConvertEventArgs.cs
- PeerPresenceInfo.cs
- BindingMemberInfo.cs
- FlowDocumentScrollViewer.cs
- CollectionContainer.cs
- ChildDocumentBlock.cs
- ExceptionUtil.cs
- StringUtil.cs
- XmlILOptimizerVisitor.cs
- DbParameterHelper.cs
- DataObjectPastingEventArgs.cs
- TextServicesLoader.cs
- GeneratedCodeAttribute.cs
- ProfileGroupSettingsCollection.cs
- Parser.cs
- XmlProcessingInstruction.cs
- XsdCachingReader.cs
- OrderedEnumerableRowCollection.cs
- CurrentTimeZone.cs
- X509UI.cs
- UnsafeNativeMethodsCLR.cs
- CheckableControlBaseAdapter.cs
- SpoolingTaskBase.cs
- XmlCharacterData.cs
- Geometry.cs
- TextEmbeddedObject.cs
- StringFreezingAttribute.cs
- ChtmlCommandAdapter.cs
- Zone.cs
- XmlNamespaceManager.cs
- SatelliteContractVersionAttribute.cs
- FlowDocumentPage.cs
- UserControl.cs
- ProfileSettingsCollection.cs
- CacheForPrimitiveTypes.cs
- DataGridHelper.cs
- DefaultValueAttribute.cs
- XPathNodePointer.cs
- StrongName.cs
- SpotLight.cs
- PingReply.cs
- FamilyTypeface.cs
- BuildProviderAppliesToAttribute.cs
- OletxDependentTransaction.cs
- CodeExpressionCollection.cs
- ItemType.cs
- BitmapEffect.cs
- EventDescriptorCollection.cs
- WeakHashtable.cs
- IisTraceListener.cs
- CreateUserErrorEventArgs.cs
- WrapperSecurityCommunicationObject.cs
- ListItemConverter.cs
- DataGridViewButtonColumn.cs
- ExtendedPropertyDescriptor.cs
- Propagator.JoinPropagator.cs
- SymbolEqualComparer.cs
- HtmlInputSubmit.cs
- BasicExpandProvider.cs
- BasicHttpMessageSecurity.cs
- TcpHostedTransportConfiguration.cs
- designeractionbehavior.cs
- Directory.cs
- SyndicationContent.cs
- TlsnegoTokenProvider.cs
- MouseGesture.cs
- DateTimeFormat.cs
- OdbcCommandBuilder.cs
- ExpandSegmentCollection.cs
- LoadMessageLogger.cs
- TdsParser.cs
- PixelShader.cs
- TypeDescriptionProvider.cs
- ServiceAuthorizationBehavior.cs
- SqlXml.cs
- MessageSecurityOverMsmq.cs
- ObjectQuery.cs