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
- FormsIdentity.cs
- TrailingSpaceComparer.cs
- UnrecognizedPolicyAssertionElement.cs
- NotImplementedException.cs
- FilteredAttributeCollection.cs
- JsonCollectionDataContract.cs
- DnsEndPoint.cs
- ToolStripDropDownButton.cs
- DrawingAttributes.cs
- DesignTimeTemplateParser.cs
- OrderedDictionaryStateHelper.cs
- DataListItemCollection.cs
- Clipboard.cs
- StrokeCollection2.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- CacheSection.cs
- TogglePattern.cs
- XmlIterators.cs
- SelectionListDesigner.cs
- MessageDesigner.cs
- ListViewGroupConverter.cs
- SingleAnimationBase.cs
- IdleTimeoutMonitor.cs
- HtmlEncodedRawTextWriter.cs
- PagesSection.cs
- ExplicitDiscriminatorMap.cs
- QuaternionAnimationUsingKeyFrames.cs
- PointIndependentAnimationStorage.cs
- HMACSHA384.cs
- EventData.cs
- ConnectionProviderAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- TextServicesContext.cs
- IntellisenseTextBox.cs
- SQLBoolean.cs
- HScrollProperties.cs
- ResourceReader.cs
- PlaceHolder.cs
- TreeNode.cs
- SpnegoTokenProvider.cs
- ModuleConfigurationInfo.cs
- TextEndOfSegment.cs
- SecUtil.cs
- WindowClosedEventArgs.cs
- StylusTip.cs
- TextContainerHelper.cs
- NavigationExpr.cs
- MachineKeySection.cs
- LogStore.cs
- CryptoApi.cs
- InstancePersistenceEvent.cs
- NetNamedPipeBindingCollectionElement.cs
- RightsManagementErrorHandler.cs
- Int32RectConverter.cs
- RemotingServices.cs
- AssemblyInfo.cs
- ValidationHelpers.cs
- ContentFileHelper.cs
- InvokeMethodActivity.cs
- MobileControlBuilder.cs
- ConfigUtil.cs
- DataControlButton.cs
- ExceptionUtil.cs
- JapaneseLunisolarCalendar.cs
- CreateUserWizardStep.cs
- SrgsItemList.cs
- AuthenticationService.cs
- ListMarkerSourceInfo.cs
- MulticastNotSupportedException.cs
- WebExceptionStatus.cs
- DSASignatureFormatter.cs
- SqlWriter.cs
- DefinitionBase.cs
- ParallelQuery.cs
- FrameworkContentElementAutomationPeer.cs
- GraphicsPathIterator.cs
- WebEvents.cs
- DataGridViewRowEventArgs.cs
- PropertyInformationCollection.cs
- WindowsBrush.cs
- RequestSecurityTokenForGetBrowserToken.cs
- TextLineResult.cs
- AddInProcess.cs
- WinCategoryAttribute.cs
- SystemResourceHost.cs
- XmlSchemaSimpleTypeRestriction.cs
- DataBoundControlParameterTarget.cs
- RpcCryptoContext.cs
- DataGridPageChangedEventArgs.cs
- CompareValidator.cs
- GridViewHeaderRowPresenter.cs
- ProcessStartInfo.cs
- InvalidDataException.cs
- MSAAWinEventWrap.cs
- ClientSideQueueItem.cs
- BlockUIContainer.cs
- ButtonChrome.cs
- StylusTip.cs
- WmlPanelAdapter.cs
- Function.cs