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
- ToolboxItem.cs
- SafeLibraryHandle.cs
- ObjectDataSourceMethodEventArgs.cs
- UnsafeNativeMethods.cs
- MSAAEventDispatcher.cs
- PreProcessInputEventArgs.cs
- TextBoxDesigner.cs
- AbandonedMutexException.cs
- InternalTypeHelper.cs
- CurrentChangingEventArgs.cs
- WorkflowOwnershipException.cs
- PropertyDescriptorComparer.cs
- ServiceNameElement.cs
- DocumentPropertiesDialog.cs
- TextElement.cs
- WinEventTracker.cs
- BuildProvidersCompiler.cs
- Helpers.cs
- ProtectedProviderSettings.cs
- EmptyEnumerable.cs
- UInt16Storage.cs
- ActivityTypeDesigner.xaml.cs
- SafeFileHandle.cs
- WorkflowApplicationIdleEventArgs.cs
- DbDeleteCommandTree.cs
- ControlIdConverter.cs
- SaveFileDialog.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ArrayConverter.cs
- StructuredCompositeActivityDesigner.cs
- DoubleLink.cs
- IsolatedStoragePermission.cs
- PerSessionInstanceContextProvider.cs
- GroupBoxRenderer.cs
- AddingNewEventArgs.cs
- LiteralControl.cs
- ContentDisposition.cs
- GridViewSortEventArgs.cs
- SapiGrammar.cs
- PathData.cs
- PixelFormat.cs
- Calendar.cs
- TypeUtils.cs
- DataControlExtensions.cs
- AuthenticationService.cs
- DataGridViewCellParsingEventArgs.cs
- CompressedStack.cs
- XmlStringTable.cs
- WebReference.cs
- PageTheme.cs
- FormatException.cs
- COM2ComponentEditor.cs
- InheritanceAttribute.cs
- PersonalizationEntry.cs
- ListViewPagedDataSource.cs
- FixedPageProcessor.cs
- InterleavedZipPartStream.cs
- PolyLineSegmentFigureLogic.cs
- ChtmlTextWriter.cs
- KeyValuePairs.cs
- CompiledQueryCacheKey.cs
- EndEvent.cs
- IndexedGlyphRun.cs
- NativeMethods.cs
- SqlConnectionFactory.cs
- Subtree.cs
- RoleGroup.cs
- OleTxTransaction.cs
- AddInController.cs
- WindowsToolbar.cs
- RequestQueryProcessor.cs
- SQlBooleanStorage.cs
- StructuredProperty.cs
- SpellerInterop.cs
- AnnotationResource.cs
- ExpressionBuilderCollection.cs
- BoundColumn.cs
- AppModelKnownContentFactory.cs
- IdentityManager.cs
- FamilyTypeface.cs
- ToolBar.cs
- ServiceElement.cs
- ToolbarAUtomationPeer.cs
- SizeAnimationClockResource.cs
- TraceLog.cs
- BufferModesCollection.cs
- ScriptResourceHandler.cs
- NativeMethodsOther.cs
- Style.cs
- RegisteredScript.cs
- DiscreteKeyFrames.cs
- JoinTreeNode.cs
- CoTaskMemHandle.cs
- TextParagraphCache.cs
- XsltFunctions.cs
- Psha1DerivedKeyGenerator.cs
- RoutedEvent.cs
- RecommendedAsConfigurableAttribute.cs
- TableHeaderCell.cs
- MeshGeometry3D.cs