Code:
/ DotNET / DotNET / 8.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
- PeerPresenceInfo.cs
- LocalizedNameDescriptionPair.cs
- Stroke2.cs
- PartialCachingAttribute.cs
- MediaSystem.cs
- WebHttpBehavior.cs
- OpCodes.cs
- CustomTypeDescriptor.cs
- RtType.cs
- AttributeUsageAttribute.cs
- HttpCookieCollection.cs
- _PooledStream.cs
- safelink.cs
- HtmlControlPersistable.cs
- LoadRetryConstantStrategy.cs
- PropertyInfo.cs
- DomNameTable.cs
- TextTabProperties.cs
- RegexParser.cs
- TextServicesCompartment.cs
- SelectionEditor.cs
- IntSecurity.cs
- CodeGotoStatement.cs
- SetterTriggerConditionValueConverter.cs
- _emptywebproxy.cs
- SatelliteContractVersionAttribute.cs
- DataPagerFieldItem.cs
- TextBox.cs
- DescendantOverDescendantQuery.cs
- GenericPrincipal.cs
- StorageComplexTypeMapping.cs
- streamingZipPartStream.cs
- RenderContext.cs
- ServiceReference.cs
- NativeMethods.cs
- TextEditor.cs
- CompiledXpathExpr.cs
- RichTextBox.cs
- BaseResourcesBuildProvider.cs
- Button.cs
- CacheVirtualItemsEvent.cs
- ComEventsInfo.cs
- FullTextBreakpoint.cs
- ZipFileInfo.cs
- GrammarBuilder.cs
- DetailsViewRow.cs
- BehaviorEditorPart.cs
- HtmlElementErrorEventArgs.cs
- TraceListener.cs
- SqlInternalConnectionTds.cs
- TimeSpanMinutesConverter.cs
- AlphabetConverter.cs
- ScaleTransform.cs
- BidPrivateBase.cs
- objectresult_tresulttype.cs
- SessionPageStateSection.cs
- x509utils.cs
- StaticSiteMapProvider.cs
- ReceiveSecurityHeaderElementManager.cs
- XmlDataFileEditor.cs
- ManagementOperationWatcher.cs
- WebBrowserNavigatingEventHandler.cs
- Converter.cs
- propertytag.cs
- RichTextBoxDesigner.cs
- RemotingConfigParser.cs
- OletxEnlistment.cs
- DocumentCollection.cs
- CryptoProvider.cs
- DrawingContextDrawingContextWalker.cs
- IndexedEnumerable.cs
- FormsAuthentication.cs
- StaticExtensionConverter.cs
- InstanceNotReadyException.cs
- HebrewNumber.cs
- AuthenticationException.cs
- CodeSnippetExpression.cs
- SrgsElementList.cs
- EditorPartChrome.cs
- IndexOutOfRangeException.cs
- ObjectReaderCompiler.cs
- Selection.cs
- ScriptingScriptResourceHandlerSection.cs
- ValueChangedEventManager.cs
- GlobalizationSection.cs
- SafeRsaProviderHandle.cs
- BrowserDefinitionCollection.cs
- ButtonFlatAdapter.cs
- TypeElement.cs
- Matrix3DValueSerializer.cs
- TabPanel.cs
- TemplateLookupAction.cs
- UnsignedPublishLicense.cs
- FloatUtil.cs
- RadioButtonRenderer.cs
- HideDisabledControlAdapter.cs
- TextTreeFixupNode.cs
- AttachedAnnotation.cs
- HostedHttpRequestAsyncResult.cs
- BlurBitmapEffect.cs