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
- CommentEmitter.cs
- SchemaMapping.cs
- ImageSource.cs
- NamedObject.cs
- ObjectCloneHelper.cs
- SettingsBindableAttribute.cs
- DataMisalignedException.cs
- ContentHostHelper.cs
- SqlClientPermission.cs
- StickyNote.cs
- Point4DValueSerializer.cs
- DataGridViewTopLeftHeaderCell.cs
- ObjectDataSourceMethodEventArgs.cs
- AdornerPresentationContext.cs
- ReferentialConstraint.cs
- EntityException.cs
- TextRangeProviderWrapper.cs
- CompareValidator.cs
- XmlLinkedNode.cs
- Bitmap.cs
- AttributeInfo.cs
- SecureStringHasher.cs
- FileRecordSequenceCompletedAsyncResult.cs
- SpellerInterop.cs
- XmlEncodedRawTextWriter.cs
- StylusButton.cs
- CharacterBuffer.cs
- ElementAction.cs
- Section.cs
- ConfigurationSettings.cs
- RemotingConfiguration.cs
- DBConnection.cs
- DbConnectionPoolGroup.cs
- AccessibleObject.cs
- DescendentsWalkerBase.cs
- ToolStripProgressBar.cs
- Thumb.cs
- Win32SafeHandles.cs
- XPathNode.cs
- AxisAngleRotation3D.cs
- EdmScalarPropertyAttribute.cs
- BitmapSource.cs
- XPathNodeIterator.cs
- GroupQuery.cs
- TaskFormBase.cs
- DPCustomTypeDescriptor.cs
- ManipulationVelocities.cs
- CellNormalizer.cs
- StackBuilderSink.cs
- SqlBulkCopyColumnMapping.cs
- LingerOption.cs
- StylusSystemGestureEventArgs.cs
- AudioStateChangedEventArgs.cs
- SqlAggregateChecker.cs
- Axis.cs
- TextRange.cs
- NavigationService.cs
- QilXmlReader.cs
- ISAPIWorkerRequest.cs
- ReachDocumentPageSerializer.cs
- VirtualPathProvider.cs
- MapPathBasedVirtualPathProvider.cs
- WebPartDisplayModeCollection.cs
- ExpressionPrefixAttribute.cs
- ChangeConflicts.cs
- ModelPerspective.cs
- ProjectionPruner.cs
- KeyboardDevice.cs
- KeyConstraint.cs
- Rotation3DAnimationBase.cs
- Operators.cs
- DisposableCollectionWrapper.cs
- PointHitTestResult.cs
- TdsParameterSetter.cs
- FixedBufferAttribute.cs
- ScriptingScriptResourceHandlerSection.cs
- Set.cs
- TypedDataSourceCodeGenerator.cs
- QilInvokeLateBound.cs
- PageRequestManager.cs
- HttpStreamXmlDictionaryWriter.cs
- TextTreeTextBlock.cs
- XmlParser.cs
- PolicyValidationException.cs
- XmlCharCheckingReader.cs
- XmlQualifiedNameTest.cs
- DataSysAttribute.cs
- DecimalFormatter.cs
- SqlUdtInfo.cs
- Context.cs
- SystemColorTracker.cs
- SafeHandle.cs
- StructuredTypeEmitter.cs
- Point4DValueSerializer.cs
- TemplatedMailWebEventProvider.cs
- X509InitiatorCertificateServiceElement.cs
- DropAnimation.xaml.cs
- RuleSetBrowserDialog.cs
- KeyEvent.cs
- ValidationRuleCollection.cs