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
- NonParentingControl.cs
- SettingsProviderCollection.cs
- URLMembershipCondition.cs
- HwndHost.cs
- KeyGestureValueSerializer.cs
- ContractAdapter.cs
- SqlVersion.cs
- ErrorWebPart.cs
- UrlPropertyAttribute.cs
- FileNotFoundException.cs
- ScriptHandlerFactory.cs
- TargetPerspective.cs
- DetailsViewDeletedEventArgs.cs
- XPathParser.cs
- CommandManager.cs
- HandledEventArgs.cs
- ExpressionEditorAttribute.cs
- DataGridViewCellCollection.cs
- Invariant.cs
- SchemaElementDecl.cs
- InheritablePropertyChangeInfo.cs
- httpserverutility.cs
- CngAlgorithmGroup.cs
- DoubleAnimation.cs
- _ConnectStream.cs
- MessageBox.cs
- PageThemeBuildProvider.cs
- GridViewColumnHeader.cs
- TemplatedMailWebEventProvider.cs
- ScriptResourceAttribute.cs
- _BufferOffsetSize.cs
- FunctionDefinition.cs
- GridViewDeleteEventArgs.cs
- rsa.cs
- IncrementalCompileAnalyzer.cs
- safelink.cs
- Point3DConverter.cs
- Clipboard.cs
- MimeTypePropertyAttribute.cs
- XmlFormatExtensionPrefixAttribute.cs
- WebConfigurationFileMap.cs
- TypeLoadException.cs
- TrackingRecord.cs
- DomNameTable.cs
- QueryPageSettingsEventArgs.cs
- XamlSerializationHelper.cs
- HitTestParameters.cs
- OracleSqlParser.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SqlPersonalizationProvider.cs
- StrongNamePublicKeyBlob.cs
- InstallerTypeAttribute.cs
- MediaPlayerState.cs
- GCHandleCookieTable.cs
- ManagementQuery.cs
- EnumDataContract.cs
- WebPartConnectionsCancelEventArgs.cs
- _RequestCacheProtocol.cs
- _SingleItemRequestCache.cs
- WebPartTransformer.cs
- Section.cs
- HiddenField.cs
- CommonXSendMessage.cs
- WeakHashtable.cs
- QueryLifecycle.cs
- TypeSystemHelpers.cs
- TargetInvocationException.cs
- EventBuilder.cs
- XmlNode.cs
- GradientStop.cs
- WeakEventManager.cs
- QueryStringHandler.cs
- ParseHttpDate.cs
- EntityProviderServices.cs
- DataSetMappper.cs
- RadioButtonPopupAdapter.cs
- DataRecordObjectView.cs
- PolyLineSegment.cs
- BuildProviderUtils.cs
- TaskFactory.cs
- DataPointer.cs
- PrePostDescendentsWalker.cs
- OperationContextScope.cs
- FileDataSourceCache.cs
- MultipleViewPattern.cs
- OperatingSystem.cs
- _NtlmClient.cs
- EventDescriptorCollection.cs
- CommandEventArgs.cs
- PersonalizationProviderCollection.cs
- TimerEventSubscription.cs
- WebPartConnectionCollection.cs
- PropertyKey.cs
- CreateParams.cs
- TextEffectResolver.cs
- PreloadedPackages.cs
- WindowsTreeView.cs
- ReturnType.cs
- StrokeSerializer.cs
- ItemMap.cs