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
- ArgumentValidation.cs
- ContentPlaceHolder.cs
- HMACSHA384.cs
- SmiXetterAccessMap.cs
- SafeSecurityHelper.cs
- SqlNodeAnnotation.cs
- IteratorDescriptor.cs
- InvalidEnumArgumentException.cs
- OutputCacheSettingsSection.cs
- ResourcePool.cs
- EasingQuaternionKeyFrame.cs
- PropertyChangeTracker.cs
- MinimizableAttributeTypeConverter.cs
- MediaElementAutomationPeer.cs
- XmlSchemaCollection.cs
- OptimisticConcurrencyException.cs
- CTreeGenerator.cs
- SQLMoneyStorage.cs
- IdleTimeoutMonitor.cs
- DrawingAttributesDefaultValueFactory.cs
- TimeoutHelper.cs
- CmsInterop.cs
- MinimizableAttributeTypeConverter.cs
- XmlSchemaValidator.cs
- HttpListenerRequestUriBuilder.cs
- XmlCodeExporter.cs
- UnsafeNativeMethods.cs
- LookupBindingPropertiesAttribute.cs
- ContractBase.cs
- ScrollViewer.cs
- TextTreeTextElementNode.cs
- JavaScriptObjectDeserializer.cs
- HttpValueCollection.cs
- MenuBindingsEditorForm.cs
- SiteMapDataSourceDesigner.cs
- AnonymousIdentificationSection.cs
- PartialCachingAttribute.cs
- PropertyChangeTracker.cs
- AuthorizationBehavior.cs
- DataDocumentXPathNavigator.cs
- MissingMemberException.cs
- DiagnosticsConfigurationHandler.cs
- Attachment.cs
- __Error.cs
- SchemaTableColumn.cs
- AssociationSetEnd.cs
- CommunicationException.cs
- Vector3DCollectionValueSerializer.cs
- RadioButtonStandardAdapter.cs
- Console.cs
- LinkLabelLinkClickedEvent.cs
- TextServicesCompartmentContext.cs
- Vector3DAnimationUsingKeyFrames.cs
- DataServiceQueryProvider.cs
- WebPartDisplayModeEventArgs.cs
- AuthenticationModuleElementCollection.cs
- SqlClientPermission.cs
- CollectionConverter.cs
- RectangleGeometry.cs
- WebPartManager.cs
- processwaithandle.cs
- LayoutEngine.cs
- DataGridItemCollection.cs
- GeometryCombineModeValidation.cs
- QueueProcessor.cs
- UpnEndpointIdentity.cs
- PropertyChangeTracker.cs
- ValidationError.cs
- SrgsNameValueTag.cs
- StdValidatorsAndConverters.cs
- ScriptResourceInfo.cs
- TextEffect.cs
- ActivationArguments.cs
- BulletDecorator.cs
- OperandQuery.cs
- RecognizedAudio.cs
- SoapCommonClasses.cs
- ElementNotAvailableException.cs
- BitmapEffectInput.cs
- ComPlusServiceLoader.cs
- ToolStripArrowRenderEventArgs.cs
- HttpProfileGroupBase.cs
- CodeArrayCreateExpression.cs
- MsmqChannelListenerBase.cs
- SiteMembershipCondition.cs
- ProtocolViolationException.cs
- DateTimeFormat.cs
- MediaSystem.cs
- HttpCookiesSection.cs
- InputLanguage.cs
- HttpPostedFile.cs
- NaturalLanguageHyphenator.cs
- FreezableOperations.cs
- PartitionResolver.cs
- UIElementParaClient.cs
- ExpressionDumper.cs
- IDispatchConstantAttribute.cs
- Helpers.cs
- RequestNavigateEventArgs.cs
- ConcurrentStack.cs