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
- PeerNameRegistration.cs
- RestHandler.cs
- IInstanceContextProvider.cs
- TypedRowHandler.cs
- WindowsIdentity.cs
- StylusPlugInCollection.cs
- ModuleBuilderData.cs
- ThousandthOfEmRealDoubles.cs
- TableItemProviderWrapper.cs
- UserControlBuildProvider.cs
- TextTreePropertyUndoUnit.cs
- sqlpipe.cs
- ToolStripDropTargetManager.cs
- AssemblyBuilderData.cs
- webclient.cs
- ViewKeyConstraint.cs
- _FtpDataStream.cs
- ProgressPage.cs
- ServiceHostingEnvironmentSection.cs
- BasicCellRelation.cs
- DataGridViewRowCancelEventArgs.cs
- QilFactory.cs
- GridViewColumnCollection.cs
- GetReadStreamResult.cs
- BitmapEffectGroup.cs
- ResourceDisplayNameAttribute.cs
- DataControlImageButton.cs
- TitleStyle.cs
- DoubleLinkListEnumerator.cs
- ColumnTypeConverter.cs
- MachineKeyValidationConverter.cs
- XPathParser.cs
- CustomTokenProvider.cs
- TimeIntervalCollection.cs
- KeyMatchBuilder.cs
- cache.cs
- ScriptComponentDescriptor.cs
- DataContext.cs
- AccessViolationException.cs
- PropertyMapper.cs
- Geometry3D.cs
- ValidatorUtils.cs
- DesignerHost.cs
- CheckBoxBaseAdapter.cs
- InfocardExtendedInformationEntry.cs
- CompressionTransform.cs
- DataTable.cs
- PreviewPageInfo.cs
- ViewManager.cs
- RotationValidation.cs
- Collection.cs
- DataGridViewRowsAddedEventArgs.cs
- ConfigXmlElement.cs
- CultureMapper.cs
- DiscoveryDocumentLinksPattern.cs
- MatchingStyle.cs
- ApplicationCommands.cs
- FixedTextBuilder.cs
- Cursors.cs
- ToolStripGrip.cs
- ReflectionPermission.cs
- IChannel.cs
- FrameworkReadOnlyPropertyMetadata.cs
- OleDbPropertySetGuid.cs
- Columns.cs
- WorkflowView.cs
- ComponentCollection.cs
- QilXmlReader.cs
- UInt64Converter.cs
- XmlSortKey.cs
- CompilerInfo.cs
- DeferredTextReference.cs
- ToolStripManager.cs
- PropertyEntry.cs
- ResolveMatchesApril2005.cs
- MessageBox.cs
- FontFamilyValueSerializer.cs
- ListViewSelectEventArgs.cs
- documentation.cs
- VariableQuery.cs
- SetStoryboardSpeedRatio.cs
- ViewBox.cs
- SqlBooleanMismatchVisitor.cs
- ResizingMessageFilter.cs
- ClientTargetCollection.cs
- ServicePerformanceCounters.cs
- ClientUrlResolverWrapper.cs
- AxisAngleRotation3D.cs
- WebSysDisplayNameAttribute.cs
- FilteredAttributeCollection.cs
- MaskPropertyEditor.cs
- DataGridViewColumnHeaderCell.cs
- XPathSelfQuery.cs
- FormView.cs
- XmlSerializerImportOptions.cs
- ModifiableIteratorCollection.cs
- UdpDiscoveryEndpointProvider.cs
- XamlDesignerSerializationManager.cs
- Interlocked.cs
- DataError.cs