Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ScrollableControl.cs
- sqlmetadatafactory.cs
- ThaiBuddhistCalendar.cs
- ErrorInfoXmlDocument.cs
- DataObjectEventArgs.cs
- TextEditorParagraphs.cs
- ScrollEventArgs.cs
- PropertyToken.cs
- ObservableDictionary.cs
- ApplicationDirectoryMembershipCondition.cs
- PkcsMisc.cs
- TriggerBase.cs
- TransactedBatchContext.cs
- Socket.cs
- UpdatableWrapper.cs
- UIAgentCrashedException.cs
- DesignBindingPicker.cs
- CSharpCodeProvider.cs
- Run.cs
- EdgeModeValidation.cs
- CDSCollectionETWBCLProvider.cs
- InvalidCommandTreeException.cs
- FunctionDescription.cs
- ColorMap.cs
- ContentValidator.cs
- ProcessProtocolHandler.cs
- HttpWriter.cs
- TreeNodeSelectionProcessor.cs
- KnownTypes.cs
- NativeMethods.cs
- NativeMethodsOther.cs
- ProfileGroupSettings.cs
- ContentPlaceHolder.cs
- SessionIDManager.cs
- PipelineModuleStepContainer.cs
- XmlSchemaExternal.cs
- SqlRecordBuffer.cs
- StrongNamePublicKeyBlob.cs
- BitVector32.cs
- TreeWalkHelper.cs
- XmlEncApr2001.cs
- ServiceDebugBehavior.cs
- RadioButtonBaseAdapter.cs
- WindowsPrincipal.cs
- SQLInt32Storage.cs
- AutomationPatternInfo.cs
- HealthMonitoringSection.cs
- StaticExtensionConverter.cs
- SymbolEqualComparer.cs
- XmlDataSourceNodeDescriptor.cs
- DispatchWrapper.cs
- ProtocolsConfigurationEntry.cs
- XmlSerializerOperationBehavior.cs
- MetaColumn.cs
- DataExchangeServiceBinder.cs
- Selection.cs
- BuilderPropertyEntry.cs
- FilterableAttribute.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- CounterCreationData.cs
- ComplexType.cs
- IisTraceListener.cs
- XmlSchemaAttributeGroupRef.cs
- WebPartDisplayModeCollection.cs
- AdornerLayer.cs
- AuthStoreRoleProvider.cs
- DynamicQueryableWrapper.cs
- Quack.cs
- ToolStripRendererSwitcher.cs
- DropSource.cs
- SettingsPropertyValueCollection.cs
- Pointer.cs
- KnowledgeBase.cs
- LoginUtil.cs
- InputManager.cs
- NativeConfigurationLoader.cs
- TextFormatter.cs
- dataprotectionpermission.cs
- SessionStateContainer.cs
- NeutralResourcesLanguageAttribute.cs
- TypedColumnHandler.cs
- IpcServerChannel.cs
- TileModeValidation.cs
- Size.cs
- ReachVisualSerializerAsync.cs
- CacheChildrenQuery.cs
- validationstate.cs
- RepeatButton.cs
- CodeCompiler.cs
- ColumnMapVisitor.cs
- TextComposition.cs
- ReferencedCollectionType.cs
- recordstatefactory.cs
- ObservableCollectionDefaultValueFactory.cs
- WebBaseEventKeyComparer.cs
- GradientSpreadMethodValidation.cs
- Int32Storage.cs
- TrustManagerPromptUI.cs
- WSHttpTransportSecurityElement.cs
- DiscoveryUtility.cs