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
- BitmapEffect.cs
- filewebresponse.cs
- DataGridViewSelectedCellCollection.cs
- TabControlAutomationPeer.cs
- XmlReturnReader.cs
- SimpleType.cs
- ProvidersHelper.cs
- DiagnosticTraceSchemas.cs
- LocalizedNameDescriptionPair.cs
- ContractSearchPattern.cs
- TemplateControlBuildProvider.cs
- TextBlockAutomationPeer.cs
- RtfFormatStack.cs
- ReliableReplySessionChannel.cs
- HebrewNumber.cs
- OleDbErrorCollection.cs
- DataGridViewElement.cs
- ReflectionTypeLoadException.cs
- DotExpr.cs
- UnsafeNativeMethods.cs
- WebResourceAttribute.cs
- WebBrowserNavigatedEventHandler.cs
- StreamGeometry.cs
- ConcurrentQueue.cs
- GraphicsState.cs
- MiniModule.cs
- DaylightTime.cs
- ProvidersHelper.cs
- CompilationUtil.cs
- AttributeCollection.cs
- Tablet.cs
- panel.cs
- FormViewInsertEventArgs.cs
- DataSourceSelectArguments.cs
- MatcherBuilder.cs
- TemplateManager.cs
- PropertyValue.cs
- HyperLinkColumn.cs
- Style.cs
- ConstraintCollection.cs
- DataGridPagingPage.cs
- ListBoxDesigner.cs
- HttpWebRequestElement.cs
- OracleRowUpdatedEventArgs.cs
- HtmlControlDesigner.cs
- CompressionTransform.cs
- EmbeddedObject.cs
- UpDownEvent.cs
- RelationshipEndMember.cs
- MappingMetadataHelper.cs
- EventLogStatus.cs
- ReadOnlyDictionary.cs
- RuleElement.cs
- ListControlConvertEventArgs.cs
- PreservationFileReader.cs
- VisualStyleInformation.cs
- Peer.cs
- BulletedListEventArgs.cs
- StringSource.cs
- ListSurrogate.cs
- ComplusEndpointConfigContainer.cs
- Effect.cs
- _ConnectStream.cs
- ConnectionOrientedTransportManager.cs
- ToolStripHighContrastRenderer.cs
- ColumnTypeConverter.cs
- TextEffectResolver.cs
- NamedPipeAppDomainProtocolHandler.cs
- ConsoleEntryPoint.cs
- BinaryMethodMessage.cs
- FixedSOMPageElement.cs
- ToolStripItemCollection.cs
- XmlExtensionFunction.cs
- XmlChildEnumerator.cs
- FlowNode.cs
- MenuItemBinding.cs
- ObjectTag.cs
- CodeExpressionCollection.cs
- ResourceContainer.cs
- DataFieldCollectionEditor.cs
- HtmlInputControl.cs
- MemoryMappedView.cs
- DefaultWorkflowTransactionService.cs
- IntPtr.cs
- CodeSnippetTypeMember.cs
- TypeConverterHelper.cs
- RegexCompilationInfo.cs
- DetailsViewModeEventArgs.cs
- ReadOnlyDataSourceView.cs
- TextCollapsingProperties.cs
- MessageVersionConverter.cs
- DeviceSpecificDialogCachedState.cs
- ListViewUpdateEventArgs.cs
- ParseNumbers.cs
- DataSourceControlBuilder.cs
- BridgeDataRecord.cs
- ProtocolsConfigurationHandler.cs
- Predicate.cs
- PassportAuthenticationModule.cs
- UrlRoutingHandler.cs