Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- EmbeddedMailObject.cs
- Constraint.cs
- EncryptedReference.cs
- HttpChannelBindingToken.cs
- EventLogger.cs
- OutputCacheSettings.cs
- OracleInternalConnection.cs
- DBSqlParserColumn.cs
- StateDesigner.Layouts.cs
- Tile.cs
- GatewayDefinition.cs
- XmlAnyElementAttributes.cs
- MultiTrigger.cs
- CodeExpressionStatement.cs
- StringComparer.cs
- PatternMatcher.cs
- InlineUIContainer.cs
- DeobfuscatingStream.cs
- HashHelper.cs
- ExpressionVisitorHelpers.cs
- OdbcConnectionHandle.cs
- BindingContext.cs
- DocumentViewerBase.cs
- SafeProcessHandle.cs
- Grid.cs
- SecurityElement.cs
- LayoutInformation.cs
- HeaderCollection.cs
- PrintPreviewDialog.cs
- AssemblyHash.cs
- Predicate.cs
- ClosableStream.cs
- HyperlinkAutomationPeer.cs
- Activator.cs
- SymmetricCryptoHandle.cs
- StateChangeEvent.cs
- DecoratedNameAttribute.cs
- XPathNodePointer.cs
- StackBuilderSink.cs
- ConsoleCancelEventArgs.cs
- Options.cs
- ValidationRuleCollection.cs
- TreeViewImageKeyConverter.cs
- CodeSubDirectoriesCollection.cs
- TypeBrowser.xaml.cs
- ChannelBinding.cs
- QueryOutputWriter.cs
- FontFamilyConverter.cs
- Invariant.cs
- MappingException.cs
- RectangleHotSpot.cs
- TextControlDesigner.cs
- FormatterServicesNoSerializableCheck.cs
- CompensationParticipant.cs
- DataGridTable.cs
- XmlTypeMapping.cs
- CustomCredentialPolicy.cs
- UrlPath.cs
- BaseAutoFormat.cs
- MsmqException.cs
- UInt32.cs
- GenericUI.cs
- DataSourceSelectArguments.cs
- WebPartConnectionsCloseVerb.cs
- SqlCacheDependencyDatabaseCollection.cs
- CqlLexer.cs
- ArraySubsetEnumerator.cs
- DayRenderEvent.cs
- DrawingGroup.cs
- QueryableFilterUserControl.cs
- LocationUpdates.cs
- BinaryHeap.cs
- TableAdapterManagerGenerator.cs
- PageThemeBuildProvider.cs
- RawMouseInputReport.cs
- FileClassifier.cs
- ScalarOps.cs
- ObservableDictionary.cs
- ASCIIEncoding.cs
- GraphicsContext.cs
- SqlDesignerDataSourceView.cs
- SqlParameterCollection.cs
- FrameworkContextData.cs
- OptimizedTemplateContent.cs
- DecoratedNameAttribute.cs
- SegmentTree.cs
- RemotingServices.cs
- HyperLink.cs
- WinCategoryAttribute.cs
- ToolStripHighContrastRenderer.cs
- PtsHost.cs
- NoneExcludedImageIndexConverter.cs
- ManagedWndProcTracker.cs
- XappLauncher.cs
- MetadataWorkspace.cs
- TypeBuilder.cs
- DecimalAnimationUsingKeyFrames.cs
- DesignerForm.cs
- EventTrigger.cs
- ZipIORawDataFileBlock.cs