Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / TargetParameterCountException.cs / 1305376 / 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)] #if FEATURE_CORECLR public sealed class TargetParameterCountException : Exception { // hack to make thinner happy #if false } #endif #else public sealed class TargetParameterCountException : ApplicationException { #endif //FEATURE_CORECLR 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
- Activity.cs
- Wizard.cs
- CompareInfo.cs
- GlyphRun.cs
- EntityDesignerUtils.cs
- SoapSchemaImporter.cs
- figurelengthconverter.cs
- ResourcePermissionBaseEntry.cs
- ConfigDefinitionUpdates.cs
- SyntaxCheck.cs
- TextViewBase.cs
- DetailsView.cs
- SudsWriter.cs
- VideoDrawing.cs
- SwitchElementsCollection.cs
- LicenseManager.cs
- WebControlsSection.cs
- HostingPreferredMapPath.cs
- PnrpPeerResolverElement.cs
- XmlHelper.cs
- Route.cs
- HMACMD5.cs
- AsnEncodedData.cs
- IMembershipProvider.cs
- DocumentXmlWriter.cs
- SubpageParaClient.cs
- TemplatedControlDesigner.cs
- PlaceHolder.cs
- PropertyNames.cs
- NullableIntSumAggregationOperator.cs
- Highlights.cs
- DetailsViewInsertEventArgs.cs
- ClientOptions.cs
- VisualProxy.cs
- SoapEnumAttribute.cs
- FixedSOMLineRanges.cs
- OleDbDataReader.cs
- PlaceHolder.cs
- HashHelper.cs
- DllNotFoundException.cs
- XpsViewerException.cs
- TemplateBaseAction.cs
- Ipv6Element.cs
- IERequestCache.cs
- CodeConstructor.cs
- RtfControls.cs
- XmlAttributeOverrides.cs
- TextWriter.cs
- IPPacketInformation.cs
- WCFModelStrings.Designer.cs
- SourceChangedEventArgs.cs
- WindowsScrollBarBits.cs
- AnnotationComponentChooser.cs
- GridLength.cs
- InternalControlCollection.cs
- GridViewCancelEditEventArgs.cs
- LoginUtil.cs
- TreeNodeBindingCollection.cs
- ExpressionBuilderCollection.cs
- VirtualPathUtility.cs
- LicenseManager.cs
- InstanceNormalEvent.cs
- XNodeNavigator.cs
- XsltSettings.cs
- CodeRemoveEventStatement.cs
- DataGridColumn.cs
- ResourceReferenceExpressionConverter.cs
- SqlBooleanizer.cs
- VirtualPath.cs
- DocumentSchemaValidator.cs
- MethodImplAttribute.cs
- MissingManifestResourceException.cs
- CompModSwitches.cs
- DataViewManagerListItemTypeDescriptor.cs
- storepermission.cs
- SqlConnectionHelper.cs
- TransformPatternIdentifiers.cs
- Transactions.cs
- _OSSOCK.cs
- BinaryObjectWriter.cs
- CurrencyWrapper.cs
- DocumentViewerAutomationPeer.cs
- IndentedWriter.cs
- cookie.cs
- TypedDataSourceCodeGenerator.cs
- UshortList2.cs
- Int32Animation.cs
- ToolboxComponentsCreatedEventArgs.cs
- VisualProxy.cs
- Ops.cs
- X509AsymmetricSecurityKey.cs
- SqlBulkCopyColumnMapping.cs
- Base64Encoding.cs
- FragmentNavigationEventArgs.cs
- CodeSubDirectory.cs
- MetadataCache.cs
- XamlToRtfParser.cs
- AsymmetricSignatureDeformatter.cs
- MessageHeaderDescriptionCollection.cs
- CultureInfoConverter.cs