Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegistryPermission.cs
- DelegateHelpers.Generated.cs
- ImageMetadata.cs
- UnhandledExceptionEventArgs.cs
- FontStyle.cs
- EdmProviderManifest.cs
- FileSystemEventArgs.cs
- FunctionParameter.cs
- DataGridViewRow.cs
- CancellationToken.cs
- Common.cs
- DataBindingHandlerAttribute.cs
- Mouse.cs
- StringDictionaryCodeDomSerializer.cs
- HashSetDebugView.cs
- CallTemplateAction.cs
- FileRecordSequenceCompletedAsyncResult.cs
- StringComparer.cs
- SettingsBase.cs
- MissingManifestResourceException.cs
- SymLanguageVendor.cs
- PrintPreviewControl.cs
- ItemList.cs
- PrintDialog.cs
- QilStrConcatenator.cs
- CacheSection.cs
- StreamAsIStream.cs
- DecoderFallback.cs
- AmbientValueAttribute.cs
- TableRow.cs
- StringCollection.cs
- RangeContentEnumerator.cs
- MemoryPressure.cs
- TakeOrSkipQueryOperator.cs
- BamlLocalizableResource.cs
- TextComposition.cs
- CriticalHandle.cs
- SimpleType.cs
- WebPartZoneCollection.cs
- SimplePropertyEntry.cs
- CustomLineCap.cs
- CanExecuteRoutedEventArgs.cs
- ClientSettings.cs
- DbCommandDefinition.cs
- InfoCardRSACryptoProvider.cs
- BindingExpressionUncommonField.cs
- BitmapData.cs
- MarkupCompilePass1.cs
- UnitySerializationHolder.cs
- EncoderFallback.cs
- CacheAxisQuery.cs
- ForceCopyBuildProvider.cs
- CodeVariableDeclarationStatement.cs
- InstanceDescriptor.cs
- JoinElimination.cs
- TextParaClient.cs
- RuntimeResourceSet.cs
- MatrixUtil.cs
- WindowsGraphics2.cs
- WhitespaceRuleLookup.cs
- DesignerOptionService.cs
- OdbcFactory.cs
- HttpHandlerActionCollection.cs
- AutomationEvent.cs
- ActiveXHelper.cs
- SkewTransform.cs
- PrinterResolution.cs
- HttpProfileBase.cs
- Adorner.cs
- XmlSchemaObject.cs
- Win32.cs
- DBSchemaTable.cs
- LOSFormatter.cs
- ToolStripStatusLabel.cs
- AnimationClockResource.cs
- ObjectDataSourceEventArgs.cs
- CodeGenerator.cs
- AuthenticationModuleElement.cs
- Simplifier.cs
- CheckBoxList.cs
- StorageConditionPropertyMapping.cs
- DbProviderFactories.cs
- BmpBitmapEncoder.cs
- LinqExpressionNormalizer.cs
- RC2CryptoServiceProvider.cs
- TimeSpanSecondsConverter.cs
- PageHandlerFactory.cs
- RayHitTestParameters.cs
- SqlCacheDependencyDatabase.cs
- DateTimeStorage.cs
- DockPattern.cs
- FileAuthorizationModule.cs
- ThemeDictionaryExtension.cs
- AttachedProperty.cs
- ServiceDesigner.xaml.cs
- InProcStateClientManager.cs
- HttpListenerRequestTraceRecord.cs
- IdentifierCollection.cs
- TextEffect.cs
- XmlArrayItemAttribute.cs