Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PreviewKeyDownEventArgs.cs
- TreeNode.cs
- ObjectIDGenerator.cs
- ProcessMessagesAsyncResult.cs
- BitmapMetadataEnumerator.cs
- DWriteFactory.cs
- ContractInstanceProvider.cs
- Pkcs7Recipient.cs
- COM2ExtendedUITypeEditor.cs
- IISMapPath.cs
- DbDataAdapter.cs
- GridView.cs
- BasicExpressionVisitor.cs
- ScrollContentPresenter.cs
- ProfileService.cs
- TypeValidationEventArgs.cs
- LabelAutomationPeer.cs
- SchemaReference.cs
- TreeNodeBindingDepthConverter.cs
- HttpModuleActionCollection.cs
- InvalidOleVariantTypeException.cs
- NewExpression.cs
- SecurityDescriptor.cs
- EnumBuilder.cs
- PeerSecurityHelpers.cs
- Polygon.cs
- BamlRecords.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ZipIOExtraFieldZip64Element.cs
- LoggedException.cs
- DesignerObjectListAdapter.cs
- CharacterString.cs
- CapabilitiesPattern.cs
- MethodBuilderInstantiation.cs
- SystemKeyConverter.cs
- TextContainerChangedEventArgs.cs
- SqlMethods.cs
- HighlightVisual.cs
- WindowsButton.cs
- NetSectionGroup.cs
- GestureRecognizer.cs
- SmiGettersStream.cs
- GeometryConverter.cs
- AnnotationMap.cs
- UndoManager.cs
- TableSectionStyle.cs
- ConnectionStringsExpressionBuilder.cs
- DataGridViewRowEventArgs.cs
- CodeAccessSecurityEngine.cs
- DictionarySectionHandler.cs
- SafeEventLogWriteHandle.cs
- TdsParserStaticMethods.cs
- XmlAttributeAttribute.cs
- TableLayoutPanelCellPosition.cs
- ItemMap.cs
- ReadOnlyDictionary.cs
- TextRunCache.cs
- StrongNameKeyPair.cs
- FocusTracker.cs
- mansign.cs
- LassoSelectionBehavior.cs
- KeyGestureConverter.cs
- MobileSysDescriptionAttribute.cs
- SerializationUtilities.cs
- DelegatingConfigHost.cs
- StateWorkerRequest.cs
- PlainXmlDeserializer.cs
- HostExecutionContextManager.cs
- NetworkStream.cs
- HttpDictionary.cs
- PackageRelationshipCollection.cs
- UnmanagedHandle.cs
- XPathParser.cs
- KeysConverter.cs
- XmlSchemaComplexContentExtension.cs
- SchemaDeclBase.cs
- NoResizeHandleGlyph.cs
- PageParser.cs
- TreeNodeSelectionProcessor.cs
- DeferrableContent.cs
- WindowsSysHeader.cs
- SQLByteStorage.cs
- Calendar.cs
- TextDecorationCollectionConverter.cs
- ModelUIElement3D.cs
- UserMapPath.cs
- XmlElementList.cs
- InputManager.cs
- StoreConnection.cs
- XmlElementAttribute.cs
- XPathNodeList.cs
- EventLogPermissionEntry.cs
- CompositionTarget.cs
- XmlUtil.cs
- XPathParser.cs
- DataBoundLiteralControl.cs
- ScrollEvent.cs
- HtmlEmptyTagControlBuilder.cs
- UserControl.cs
- WebPartsPersonalization.cs