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
- Choices.cs
- ErrorWebPart.cs
- Win32.cs
- EntityException.cs
- XMLSyntaxException.cs
- ScrollChrome.cs
- ListViewItemMouseHoverEvent.cs
- CommonObjectSecurity.cs
- ResXDataNode.cs
- TypedElement.cs
- CachedTypeface.cs
- RemoteArgument.cs
- TreeViewImageIndexConverter.cs
- AssertSection.cs
- PlainXmlDeserializer.cs
- AlignmentXValidation.cs
- BamlResourceContent.cs
- RtfToken.cs
- AspNetCacheProfileAttribute.cs
- RelatedPropertyManager.cs
- ArraySubsetEnumerator.cs
- WinEventWrap.cs
- TextTreePropertyUndoUnit.cs
- SqlBulkCopyColumnMappingCollection.cs
- BindingBase.cs
- GacUtil.cs
- exports.cs
- Point4D.cs
- StateRuntime.cs
- FontFamily.cs
- QuestionEventArgs.cs
- HasCopySemanticsAttribute.cs
- NativeRecognizer.cs
- DataColumnMapping.cs
- CodeDOMUtility.cs
- XsltInput.cs
- HMACSHA256.cs
- TypeExtensionSerializer.cs
- DataFormat.cs
- SqlInternalConnectionTds.cs
- SqlBuffer.cs
- ReadOnlyDataSource.cs
- IndicShape.cs
- ProtocolsConfigurationEntry.cs
- ClientFactory.cs
- CollectionChangedEventManager.cs
- InputScopeConverter.cs
- ListDictionary.cs
- Set.cs
- ParallelRangeManager.cs
- NoResizeSelectionBorderGlyph.cs
- NumericUpDown.cs
- _CommandStream.cs
- BitmapEffectDrawingContent.cs
- ControlParameter.cs
- PersonalizableTypeEntry.cs
- MemoryMappedFileSecurity.cs
- NavigateUrlConverter.cs
- DomainConstraint.cs
- LabelAutomationPeer.cs
- SyndicationElementExtensionCollection.cs
- sitestring.cs
- CodeNamespaceCollection.cs
- Compiler.cs
- HostExecutionContextManager.cs
- WebControlParameterProxy.cs
- ListViewInsertionMark.cs
- HScrollProperties.cs
- InvokeMethodDesigner.xaml.cs
- ImpersonateTokenRef.cs
- DataObjectSettingDataEventArgs.cs
- FontDialog.cs
- SqlDataSourceCommandEventArgs.cs
- _ConnectionGroup.cs
- DropSource.cs
- updatecommandorderer.cs
- ProgressChangedEventArgs.cs
- DataAdapter.cs
- PopupControlService.cs
- TextFormatter.cs
- TableRow.cs
- ConfigXmlSignificantWhitespace.cs
- VBIdentifierTrimConverter.cs
- WindowsScroll.cs
- XmlEnumAttribute.cs
- Item.cs
- HttpFileCollection.cs
- JpegBitmapEncoder.cs
- Latin1Encoding.cs
- ExpandButtonVisibilityConverter.cs
- EntityProviderServices.cs
- ProfileManager.cs
- PasswordTextContainer.cs
- XmlSequenceWriter.cs
- OleDbPropertySetGuid.cs
- Models.cs
- X509CertificateStore.cs
- CategoryNameCollection.cs
- PrePrepareMethodAttribute.cs
- SafeHandles.cs