Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DataViewManagerListItemTypeDescriptor.cs
- ErrorStyle.cs
- ServiceDescriptionReflector.cs
- VectorKeyFrameCollection.cs
- ConnectionPointCookie.cs
- DesignerVerbCollection.cs
- DesignerDataTable.cs
- OdbcPermission.cs
- ClientEventManager.cs
- ScaleTransform.cs
- XhtmlBasicPanelAdapter.cs
- Filter.cs
- KeyPullup.cs
- WebBrowser.cs
- SelectionProcessor.cs
- CommandEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- ScrollProperties.cs
- TextServicesPropertyRanges.cs
- PropertyGeneratedEventArgs.cs
- DelegatedStream.cs
- ListViewItemSelectionChangedEvent.cs
- Fx.cs
- EventPrivateKey.cs
- XhtmlBasicListAdapter.cs
- Page.cs
- InternalTypeHelper.cs
- NotFiniteNumberException.cs
- XmlUTF8TextWriter.cs
- UndoManager.cs
- InputElement.cs
- SchemaExporter.cs
- UriTemplateTable.cs
- SoundPlayer.cs
- SoapCodeExporter.cs
- StatusBarAutomationPeer.cs
- UserNameSecurityTokenParameters.cs
- CharConverter.cs
- CryptoConfig.cs
- MaskedTextBoxDesignerActionList.cs
- PersianCalendar.cs
- CookieParameter.cs
- XslTransform.cs
- ClickablePoint.cs
- AspCompat.cs
- ImageCodecInfoPrivate.cs
- Point3DIndependentAnimationStorage.cs
- DesigntimeLicenseContext.cs
- ListView.cs
- SoapInteropTypes.cs
- Base64Encoder.cs
- BuilderElements.cs
- StubHelpers.cs
- DesignerPerfEventProvider.cs
- SerializationInfo.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- ControlLocalizer.cs
- ISAPIApplicationHost.cs
- sqlstateclientmanager.cs
- BaseCollection.cs
- XPathScanner.cs
- FileStream.cs
- SymmetricCryptoHandle.cs
- DefaultMergeHelper.cs
- InfocardClientCredentials.cs
- UnionCodeGroup.cs
- XmlSchemaInclude.cs
- xdrvalidator.cs
- TreeSet.cs
- FontUnit.cs
- _DisconnectOverlappedAsyncResult.cs
- EndOfStreamException.cs
- XmlFileEditor.cs
- StringDictionary.cs
- AssertFilter.cs
- TextTreeObjectNode.cs
- ResourceProviderFactory.cs
- CalendarDataBindingHandler.cs
- RetrieveVirtualItemEventArgs.cs
- ReadOnlyObservableCollection.cs
- TextRange.cs
- Soap.cs
- Variant.cs
- BufferCache.cs
- HttpChannelHelper.cs
- DBBindings.cs
- UshortList2.cs
- TreeNodeCollectionEditor.cs
- HostVisual.cs
- _NegoState.cs
- DefaultValueAttribute.cs
- FillRuleValidation.cs
- UserPersonalizationStateInfo.cs
- CorrelationToken.cs
- ProcessHostMapPath.cs
- GridSplitterAutomationPeer.cs
- ClientConfigurationSystem.cs
- SettingsProperty.cs
- LostFocusEventManager.cs
- RelationshipFixer.cs