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
- ConnectionInterfaceCollection.cs
- TrackingQueryElement.cs
- StylusPointProperties.cs
- SqlGatherConsumedAliases.cs
- RouteTable.cs
- MULTI_QI.cs
- CharKeyFrameCollection.cs
- SignerInfo.cs
- Rect3D.cs
- TextEvent.cs
- DocumentXmlWriter.cs
- Hex.cs
- FileDialogPermission.cs
- RadioButtonFlatAdapter.cs
- PlainXmlDeserializer.cs
- Int32CAMarshaler.cs
- SectionXmlInfo.cs
- FontStyles.cs
- DetailsViewRow.cs
- MailHeaderInfo.cs
- DataServiceProcessingPipelineEventArgs.cs
- DataColumnChangeEvent.cs
- SoapExtensionTypeElement.cs
- GatewayDefinition.cs
- DecimalKeyFrameCollection.cs
- FixedSOMTableRow.cs
- KeyConstraint.cs
- PolyLineSegment.cs
- WsdlBuildProvider.cs
- ResXResourceSet.cs
- SplitterCancelEvent.cs
- RouteValueExpressionBuilder.cs
- HotSpot.cs
- IDispatchConstantAttribute.cs
- SingleQueryOperator.cs
- PeerIPHelper.cs
- ColumnMapCopier.cs
- FontDifferentiator.cs
- SiteMapHierarchicalDataSourceView.cs
- RegionInfo.cs
- ProfileInfo.cs
- HtmlShim.cs
- MobileSysDescriptionAttribute.cs
- PropertyTabChangedEvent.cs
- ObjectStateManagerMetadata.cs
- PlainXmlWriter.cs
- TextLineBreak.cs
- SqlXmlStorage.cs
- CompensationParticipant.cs
- MethodExpr.cs
- PresentationTraceSources.cs
- MenuScrollingVisibilityConverter.cs
- RectangleHotSpot.cs
- TraceSource.cs
- SqlDelegatedTransaction.cs
- TextParagraphView.cs
- StickyNoteContentControl.cs
- CellParagraph.cs
- ForceCopyBuildProvider.cs
- DbConnectionInternal.cs
- CatalogPartCollection.cs
- CacheModeValueSerializer.cs
- XmlSchemaAnnotated.cs
- SqlParameter.cs
- FixedElement.cs
- RoleManagerEventArgs.cs
- CodeTryCatchFinallyStatement.cs
- Simplifier.cs
- BaseResourcesBuildProvider.cs
- SystemInfo.cs
- HtmlAnchor.cs
- Transform3DCollection.cs
- XpsThumbnail.cs
- StringComparer.cs
- PieceDirectory.cs
- recordstate.cs
- XslTransformFileEditor.cs
- PipelineModuleStepContainer.cs
- SimpleExpression.cs
- DataGridViewCheckBoxColumn.cs
- MethodAccessException.cs
- DataGridItemEventArgs.cs
- HttpApplicationFactory.cs
- BindingCollection.cs
- UITypeEditor.cs
- ContextProperty.cs
- HandleRef.cs
- InputProcessorProfiles.cs
- ListItem.cs
- TypefaceMap.cs
- DataServiceResponse.cs
- ClientSettingsSection.cs
- FlowLayoutPanel.cs
- ObjectDataSourceEventArgs.cs
- fixedPageContentExtractor.cs
- ResolvedKeyFrameEntry.cs
- SelectionProviderWrapper.cs
- ConfigurationPropertyCollection.cs
- DefaultAssemblyResolver.cs
- ConnectionManager.cs