Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Visitors.cs
- MouseGesture.cs
- MetadataArtifactLoaderResource.cs
- util.cs
- NamespaceInfo.cs
- DbTransaction.cs
- ToolBar.cs
- HwndProxyElementProvider.cs
- Interop.cs
- DataSourceViewSchemaConverter.cs
- ServiceInfoCollection.cs
- CryptoConfig.cs
- MultiSelector.cs
- DelegateArgumentReference.cs
- AppDomainAttributes.cs
- FunctionParameter.cs
- HasRunnableWorkflowEvent.cs
- Graph.cs
- FullTrustAssembliesSection.cs
- HttpCapabilitiesSectionHandler.cs
- XamlTypeMapper.cs
- CategoryAttribute.cs
- TemplateContent.cs
- DataStreamFromComStream.cs
- ToolBar.cs
- FieldBuilder.cs
- BinaryParser.cs
- PrintController.cs
- BuildManagerHost.cs
- xml.cs
- TextEndOfSegment.cs
- InfoCardSymmetricCrypto.cs
- BufferManager.cs
- IdlingCommunicationPool.cs
- HostedTcpTransportManager.cs
- Parameter.cs
- ExpressionContext.cs
- TypeInfo.cs
- RowParagraph.cs
- SupportsEventValidationAttribute.cs
- TargetInvocationException.cs
- DesignerForm.cs
- ByteStream.cs
- ModuleConfigurationInfo.cs
- State.cs
- OdbcCommandBuilder.cs
- MouseActionConverter.cs
- StandardMenuStripVerb.cs
- TextChange.cs
- RootCodeDomSerializer.cs
- OdbcConnectionPoolProviderInfo.cs
- TextRangeEditLists.cs
- CheckBox.cs
- UnsettableComboBox.cs
- SendMailErrorEventArgs.cs
- DataRecordInfo.cs
- ParserOptions.cs
- XamlWrappingReader.cs
- Parser.cs
- DefaultExpressionVisitor.cs
- FirstQueryOperator.cs
- SQLInt16.cs
- BeginEvent.cs
- Helpers.cs
- ConsoleCancelEventArgs.cs
- RemoteCryptoTokenProvider.cs
- TextPattern.cs
- PolyLineSegmentFigureLogic.cs
- Function.cs
- Latin1Encoding.cs
- SQLMembershipProvider.cs
- EncoderFallback.cs
- PolyQuadraticBezierSegment.cs
- WMIGenerator.cs
- WinFormsSpinner.cs
- CqlGenerator.cs
- SqlCachedBuffer.cs
- TagPrefixAttribute.cs
- Stackframe.cs
- CheckBoxDesigner.cs
- DbParameterCollectionHelper.cs
- recordstate.cs
- SiteMembershipCondition.cs
- HttpInputStream.cs
- DecoratedNameAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SqlDependencyUtils.cs
- DoubleAnimationUsingKeyFrames.cs
- ColumnResizeAdorner.cs
- Form.cs
- TypeName.cs
- Highlights.cs
- Literal.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- FontCollection.cs
- FileDialog_Vista.cs
- LoginNameDesigner.cs
- XsdDuration.cs
- baseaxisquery.cs
- DetailsViewCommandEventArgs.cs