Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetException.cs / 1305376 / 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)] #if FEATURE_CORECLR public class TargetException : Exception { #if false } #endif #else public class TargetException : ApplicationException { #endif //FEATURE_CORECLR 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- hwndwrapper.cs
- PermissionRequestEvidence.cs
- ScaleTransform3D.cs
- PKCS1MaskGenerationMethod.cs
- DeleteIndexBinder.cs
- PersistenceTypeAttribute.cs
- TraceContextEventArgs.cs
- Style.cs
- GeometryModel3D.cs
- CompileXomlTask.cs
- GridViewAutomationPeer.cs
- SignatureToken.cs
- FontUnitConverter.cs
- PresentationSource.cs
- NestPullup.cs
- PropertyMetadata.cs
- ConfigXmlWhitespace.cs
- WebPartsPersonalization.cs
- FileReservationCollection.cs
- EntityCommandDefinition.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SqlRewriteScalarSubqueries.cs
- ASCIIEncoding.cs
- Int32CollectionConverter.cs
- StringHandle.cs
- EventTrigger.cs
- OutputCacheSettings.cs
- FacetDescription.cs
- SettingsSavedEventArgs.cs
- TypedElement.cs
- XsltContext.cs
- TypeSemantics.cs
- PropertyTab.cs
- ImmutableObjectAttribute.cs
- EncryptedData.cs
- Convert.cs
- SessionStateModule.cs
- GridViewColumnHeader.cs
- FocusChangedEventArgs.cs
- PropertyMap.cs
- XMLSyntaxException.cs
- ToolbarAUtomationPeer.cs
- MessageLoggingElement.cs
- DynamicValidatorEventArgs.cs
- MimeTypeMapper.cs
- ScrollViewerAutomationPeer.cs
- BoundConstants.cs
- CollectionChangedEventManager.cs
- TextPointer.cs
- PersonalizationStateQuery.cs
- CssClassPropertyAttribute.cs
- DataGridViewHitTestInfo.cs
- Utils.cs
- _PooledStream.cs
- InternalMappingException.cs
- BamlResourceContent.cs
- ManualResetEventSlim.cs
- FileStream.cs
- DataObjectEventArgs.cs
- EncoderBestFitFallback.cs
- JsonReaderDelegator.cs
- LinkedResourceCollection.cs
- FixedSOMElement.cs
- OdbcEnvironment.cs
- CacheForPrimitiveTypes.cs
- PrimitiveXmlSerializers.cs
- EventNotify.cs
- SiteMapDataSourceView.cs
- MaskInputRejectedEventArgs.cs
- TypeTypeConverter.cs
- MsmqDiagnostics.cs
- ImageSource.cs
- SystemSounds.cs
- ConfigXmlText.cs
- ExpressionBinding.cs
- OptionUsage.cs
- MailDefinition.cs
- FixedPage.cs
- SchemaTableColumn.cs
- NavigatingCancelEventArgs.cs
- EventLogPermissionAttribute.cs
- XmlWrappingReader.cs
- SHA512CryptoServiceProvider.cs
- DataPagerFieldCollection.cs
- PropertyEmitterBase.cs
- HyperLinkStyle.cs
- CallbackException.cs
- WebPartCatalogAddVerb.cs
- XsltLoader.cs
- GraphicsContext.cs
- ObjectQueryExecutionPlan.cs
- SynchronizedDispatch.cs
- ChannelTokenTypeConverter.cs
- DispatcherExceptionFilterEventArgs.cs
- WinEventTracker.cs
- EventRouteFactory.cs
- Canvas.cs
- CodeDirectoryCompiler.cs
- SetStateDesigner.cs
- SerialPort.cs