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
- StringFreezingAttribute.cs
- CodeCatchClauseCollection.cs
- ScriptReference.cs
- _NetRes.cs
- XmlDataSource.cs
- WindowsScrollBarBits.cs
- TrackingLocationCollection.cs
- ResourcesGenerator.cs
- CriticalHandle.cs
- SqlDataSourceQueryEditorForm.cs
- TakeOrSkipWhileQueryOperator.cs
- XmlSchemaSimpleTypeRestriction.cs
- ToolStripArrowRenderEventArgs.cs
- autovalidator.cs
- FilterableAttribute.cs
- FlowPosition.cs
- BreakRecordTable.cs
- ChtmlFormAdapter.cs
- HttpRequest.cs
- SymbolEqualComparer.cs
- HtmlInputCheckBox.cs
- IndexOutOfRangeException.cs
- XmlQueryContext.cs
- WindowsTokenRoleProvider.cs
- MeshGeometry3D.cs
- Int64AnimationUsingKeyFrames.cs
- ResourceReferenceExpressionConverter.cs
- DataTableClearEvent.cs
- XappLauncher.cs
- RoleServiceManager.cs
- GeometryDrawing.cs
- COM2ComponentEditor.cs
- HTMLTagNameToTypeMapper.cs
- FixedSOMTable.cs
- MetadataUtilsSmi.cs
- SqlNodeAnnotation.cs
- TCPClient.cs
- BinaryCommonClasses.cs
- BitmapEffectGeneralTransform.cs
- PropertyPath.cs
- CombinedGeometry.cs
- DataGridViewAccessibleObject.cs
- DesigntimeLicenseContext.cs
- CopyOnWriteList.cs
- FramingEncoders.cs
- fixedPageContentExtractor.cs
- CommentEmitter.cs
- HostTimeoutsElement.cs
- XmlLinkedNode.cs
- ListViewItemCollectionEditor.cs
- SelectManyQueryOperator.cs
- XmlComment.cs
- VolatileResourceManager.cs
- AuthenticationSection.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- FileLogRecordHeader.cs
- KeyedCollection.cs
- BinarySecretKeyIdentifierClause.cs
- DataSourceSelectArguments.cs
- StrokeSerializer.cs
- _UriSyntax.cs
- StreamInfo.cs
- QilGeneratorEnv.cs
- LinkButton.cs
- AttributeSetAction.cs
- ScriptingScriptResourceHandlerSection.cs
- Thumb.cs
- PrePostDescendentsWalker.cs
- ToolStripDropDownItem.cs
- CodeExporter.cs
- SQLBinary.cs
- InspectionWorker.cs
- Tile.cs
- SizeFConverter.cs
- Container.cs
- ServiceMetadataExtension.cs
- HitTestDrawingContextWalker.cs
- Identity.cs
- DecoderReplacementFallback.cs
- ValidatedControlConverter.cs
- FtpCachePolicyElement.cs
- mediaclock.cs
- XmlDocumentFragment.cs
- GrammarBuilderPhrase.cs
- MarshalByRefObject.cs
- RectangleConverter.cs
- SqlParameterizer.cs
- BlurEffect.cs
- DateTimeValueSerializerContext.cs
- EUCJPEncoding.cs
- SmiSettersStream.cs
- ResourceReader.cs
- Size.cs
- AddingNewEventArgs.cs
- Internal.cs
- PathTooLongException.cs
- MachineKeyConverter.cs
- DbConnectionStringBuilder.cs
- Component.cs
- ConnectionsZone.cs