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
- LiteralControl.cs
- XmlSchemaComplexContentExtension.cs
- Brush.cs
- WindowsRegion.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataColumnMappingCollection.cs
- ObjectFullSpanRewriter.cs
- DbSetClause.cs
- Touch.cs
- SequentialOutput.cs
- DebugView.cs
- BooleanFunctions.cs
- RectangleGeometry.cs
- LineServicesRun.cs
- TextUtf8RawTextWriter.cs
- SafeRightsManagementSessionHandle.cs
- Argument.cs
- Bidi.cs
- StubHelpers.cs
- DataControlLinkButton.cs
- AppSettingsExpressionBuilder.cs
- CheckBox.cs
- MaterialCollection.cs
- UIPermission.cs
- Composition.cs
- LineInfo.cs
- View.cs
- ActivityDesignerResources.cs
- ConfigurationErrorsException.cs
- _DigestClient.cs
- GridViewSelectEventArgs.cs
- HistoryEventArgs.cs
- Span.cs
- CheckBoxStandardAdapter.cs
- KeyFrames.cs
- basecomparevalidator.cs
- ConnectionStringsExpressionBuilder.cs
- SimpleFileLog.cs
- XmlDataContract.cs
- TraversalRequest.cs
- SHA256CryptoServiceProvider.cs
- ProfileSettings.cs
- IERequestCache.cs
- TimelineClockCollection.cs
- ExceptionList.cs
- Line.cs
- ISAPIRuntime.cs
- RecommendedAsConfigurableAttribute.cs
- CompositeControlDesigner.cs
- DesignTimeParseData.cs
- TextRunTypographyProperties.cs
- WS2007FederationHttpBindingElement.cs
- SimpleMailWebEventProvider.cs
- ToolStripMenuItem.cs
- DecimalFormatter.cs
- RectAnimationUsingKeyFrames.cs
- QueryableDataSourceView.cs
- FontFamilyValueSerializer.cs
- WindowsScrollBarBits.cs
- TextElement.cs
- CookielessHelper.cs
- OdbcPermission.cs
- TextRangeBase.cs
- MSAANativeProvider.cs
- AppDomainAttributes.cs
- Math.cs
- ControlEvent.cs
- CharacterHit.cs
- TableLayoutStyle.cs
- HttpHandlerAction.cs
- ButtonPopupAdapter.cs
- PageFunction.cs
- CryptoKeySecurity.cs
- CorrelationResolver.cs
- ScriptMethodAttribute.cs
- AutomationPropertyInfo.cs
- UIntPtr.cs
- TargetException.cs
- NullReferenceException.cs
- XmlAtomicValue.cs
- ActivationArguments.cs
- BigIntegerStorage.cs
- COAUTHINFO.cs
- XmlResolver.cs
- OwnerDrawPropertyBag.cs
- DockAndAnchorLayout.cs
- StagingAreaInputItem.cs
- InvalidComObjectException.cs
- PreservationFileReader.cs
- SrgsElementList.cs
- NumericUpDown.cs
- MgmtConfigurationRecord.cs
- ProtectedConfigurationSection.cs
- InvalidDataException.cs
- Exceptions.cs
- CodeIdentifiers.cs
- NotifyCollectionChangedEventArgs.cs
- WebEventCodes.cs
- XamlWrappingReader.cs
- AsyncOperationManager.cs