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 / TargetParameterCountException.cs / 1 / TargetParameterCountException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetParameterCountException is thrown when the number of parameter to an // invocation doesn't match the number expected. // // // // namespace System.Reflection { using System; using SystemException = System.SystemException; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetParameterCountException : ApplicationException { public TargetParameterCountException() : base(Environment.GetResourceString("Arg_TargetParameterCountException")) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } internal TargetParameterCountException(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. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // TargetParameterCountException is thrown when the number of parameter to an // invocation doesn't match the number expected. // // // // namespace System.Reflection { using System; using SystemException = System.SystemException; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class TargetParameterCountException : ApplicationException { public TargetParameterCountException() : base(Environment.GetResourceString("Arg_TargetParameterCountException")) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message) : base(message) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } public TargetParameterCountException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_TARGETPARAMCOUNT); } internal TargetParameterCountException(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
- AdornerLayer.cs
- TextTreeUndoUnit.cs
- SliderAutomationPeer.cs
- XmlUtilWriter.cs
- Helper.cs
- LinkedResourceCollection.cs
- FixUpCollection.cs
- EntityContainerAssociationSet.cs
- TextFormatterContext.cs
- TextCharacters.cs
- ErrorProvider.cs
- RegexWriter.cs
- TextTrailingCharacterEllipsis.cs
- BindValidator.cs
- XmlSerializationGeneratedCode.cs
- CachedTypeface.cs
- GridProviderWrapper.cs
- StdRegProviderWrapper.cs
- MaskedTextProvider.cs
- DeferredSelectedIndexReference.cs
- XmlUtilWriter.cs
- ItemsControlAutomationPeer.cs
- documentsequencetextcontainer.cs
- DurationConverter.cs
- RenderDataDrawingContext.cs
- TypeLibConverter.cs
- ProfileService.cs
- MouseButton.cs
- AnimationLayer.cs
- IdentitySection.cs
- DependencyPropertyKey.cs
- UserControlParser.cs
- SafeThreadHandle.cs
- WebPartsPersonalization.cs
- ContainerUtilities.cs
- ImageField.cs
- XNameConverter.cs
- CLRBindingWorker.cs
- Geometry3D.cs
- RotateTransform3D.cs
- InternalSafeNativeMethods.cs
- Int32EqualityComparer.cs
- QueryStack.cs
- DataGridViewTextBoxColumn.cs
- GeometryDrawing.cs
- StructuralType.cs
- QuotedStringWriteStateInfo.cs
- TemplateControlBuildProvider.cs
- CommandBinding.cs
- XmlSchemaSimpleType.cs
- Char.cs
- RoamingStoreFileUtility.cs
- SettingsPropertyIsReadOnlyException.cs
- VirtualDirectoryMappingCollection.cs
- SQLSingleStorage.cs
- ColorPalette.cs
- ClientSettingsSection.cs
- MexBindingBindingCollectionElement.cs
- StylusTip.cs
- ObjectViewEntityCollectionData.cs
- ExpressionLexer.cs
- Stylesheet.cs
- ScrollProviderWrapper.cs
- StrongNameIdentityPermission.cs
- SequenceRange.cs
- autovalidator.cs
- CachedTypeface.cs
- CompiledIdentityConstraint.cs
- OleDbStruct.cs
- SqlCacheDependencyDatabaseCollection.cs
- TabControlCancelEvent.cs
- XNodeSchemaApplier.cs
- NativeMethods.cs
- DataKey.cs
- SettingsPropertyIsReadOnlyException.cs
- RtfFormatStack.cs
- RevocationPoint.cs
- RemotingHelper.cs
- PersistChildrenAttribute.cs
- FormatConvertedBitmap.cs
- ElementAction.cs
- DefaultEventAttribute.cs
- DataGridViewComboBoxEditingControl.cs
- XpsS0ValidatingLoader.cs
- UnsafeNativeMethods.cs
- ProfileParameter.cs
- RowTypeElement.cs
- DesignSurfaceManager.cs
- ConfigurationHandlersInstallComponent.cs
- BooleanConverter.cs
- PolicyLevel.cs
- PeerCustomResolverElement.cs
- PeerHelpers.cs
- Message.cs
- MessageBox.cs
- SafeMILHandle.cs
- ContentElementAutomationPeer.cs
- ReadOnlyCollectionBuilder.cs
- ObjectListField.cs
- Binding.cs