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
- InvalidEnumArgumentException.cs
- DataGridItem.cs
- XamlFigureLengthSerializer.cs
- PreloadHost.cs
- NavigationProperty.cs
- XmlAggregates.cs
- GlyphTypeface.cs
- WebPartEditorCancelVerb.cs
- DispatchChannelSink.cs
- NativeActivityAbortContext.cs
- MappingItemCollection.cs
- ResourceReferenceExpressionConverter.cs
- EntityCommandCompilationException.cs
- SoapInteropTypes.cs
- MatrixTransform.cs
- WebRequestModuleElementCollection.cs
- _HeaderInfo.cs
- ContentElement.cs
- XmlSchemaIdentityConstraint.cs
- ImageDrawing.cs
- RegexGroup.cs
- StylusOverProperty.cs
- TextWriter.cs
- thaishape.cs
- SafeNativeMethodsOther.cs
- EventSetter.cs
- XslTransformFileEditor.cs
- ConfigViewGenerator.cs
- CompositeActivityTypeDescriptorProvider.cs
- DataGridViewUtilities.cs
- AsymmetricSecurityProtocol.cs
- ThicknessAnimation.cs
- GlobalProxySelection.cs
- SqlStatistics.cs
- BitmapInitialize.cs
- StylusShape.cs
- ResourcePool.cs
- StringKeyFrameCollection.cs
- TemplatedWizardStep.cs
- StreamSecurityUpgradeInitiatorBase.cs
- sqlser.cs
- ColumnWidthChangingEvent.cs
- BaseTemplateBuildProvider.cs
- WindowsMenu.cs
- XmlSchemaObject.cs
- ExpressionLexer.cs
- BufferedGraphicsManager.cs
- Types.cs
- FileIOPermission.cs
- DesignerHelpers.cs
- ConfigurationValue.cs
- PointCollection.cs
- UIElement3D.cs
- EventSinkActivity.cs
- DesignerAttribute.cs
- BuildResultCache.cs
- Logging.cs
- UpdateRecord.cs
- CodeFieldReferenceExpression.cs
- CopyAttributesAction.cs
- PasswordRecovery.cs
- MatrixIndependentAnimationStorage.cs
- UnknownWrapper.cs
- ListViewSelectEventArgs.cs
- FileDialog.cs
- ProcessDesigner.cs
- DataColumnChangeEvent.cs
- Condition.cs
- IntSecurity.cs
- TaskHelper.cs
- DomainConstraint.cs
- VBCodeProvider.cs
- X509ChainPolicy.cs
- WebPartConnectionsDisconnectVerb.cs
- ListSortDescription.cs
- DelegateSerializationHolder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- RectangleConverter.cs
- TypeUtil.cs
- OlePropertyStructs.cs
- SmtpReplyReaderFactory.cs
- SchemaNotation.cs
- RuntimeCompatibilityAttribute.cs
- EnumerableCollectionView.cs
- Facet.cs
- PageBreakRecord.cs
- RowUpdatingEventArgs.cs
- InheritablePropertyChangeInfo.cs
- RetrieveVirtualItemEventArgs.cs
- InternalPermissions.cs
- SerializationTrace.cs
- NavigationHelper.cs
- ConfigurationManagerHelperFactory.cs
- ResetableIterator.cs
- TableCell.cs
- PackagingUtilities.cs
- ListBase.cs
- MissingFieldException.cs
- CqlParser.cs
- SafeCryptContextHandle.cs