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
- JavaScriptString.cs
- MenuCommands.cs
- SecurityDocument.cs
- NumberSubstitution.cs
- EventHandlers.cs
- PenLineJoinValidation.cs
- SqlCacheDependencyDatabaseCollection.cs
- SplitContainer.cs
- View.cs
- SqlMethods.cs
- DataGridPageChangedEventArgs.cs
- MemberDomainMap.cs
- RoleManagerSection.cs
- BaseInfoTable.cs
- ADMembershipProvider.cs
- EmbeddedObject.cs
- XmlSubtreeReader.cs
- DecodeHelper.cs
- FrameAutomationPeer.cs
- ChangeConflicts.cs
- RequestValidator.cs
- NamedPipeChannelListener.cs
- DeploymentSection.cs
- NotifyIcon.cs
- ObjectTag.cs
- DbCommandDefinition.cs
- PackagePartCollection.cs
- CheckBox.cs
- WeakKeyDictionary.cs
- TypeElement.cs
- OdbcPermission.cs
- AtomicFile.cs
- SqlFormatter.cs
- XhtmlTextWriter.cs
- OracleMonthSpan.cs
- XPathExpr.cs
- ZoneLinkButton.cs
- SmtpDateTime.cs
- RoleManagerModule.cs
- BrowserDefinitionCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- FixedPageProcessor.cs
- TypeNameConverter.cs
- SinglePageViewer.cs
- VolatileResourceManager.cs
- ApplicationInfo.cs
- StickyNote.cs
- PrintEvent.cs
- ScrollBarAutomationPeer.cs
- OutOfProcStateClientManager.cs
- UserPrincipalNameElement.cs
- UndirectedGraph.cs
- Int16AnimationUsingKeyFrames.cs
- DataGridCaption.cs
- AppSettingsSection.cs
- CompiledQueryCacheKey.cs
- CustomMenuItemCollection.cs
- JoinQueryOperator.cs
- DiscoveryClientBindingElement.cs
- OdbcParameter.cs
- MonthChangedEventArgs.cs
- DataList.cs
- SqlReferenceCollection.cs
- OutputBuffer.cs
- ExplicitDiscriminatorMap.cs
- MobileControlsSectionHelper.cs
- CharConverter.cs
- TransformerInfo.cs
- ChangesetResponse.cs
- MatrixTransform3D.cs
- ElementNotEnabledException.cs
- DataServiceQueryException.cs
- CodeSubDirectory.cs
- SchemaSetCompiler.cs
- XmlQualifiedName.cs
- xsdvalidator.cs
- Buffer.cs
- CharStorage.cs
- SHA256Managed.cs
- ZipIOExtraField.cs
- LineServicesCallbacks.cs
- MemberMaps.cs
- ListBase.cs
- ByteAnimationUsingKeyFrames.cs
- XmlSerializerFactory.cs
- DigitalSignatureProvider.cs
- SoapMessage.cs
- Bold.cs
- ColorAnimationBase.cs
- DbConnectionFactory.cs
- _TransmitFileOverlappedAsyncResult.cs
- LogicalTreeHelper.cs
- IQueryable.cs
- RsaKeyIdentifierClause.cs
- CodeNamespaceCollection.cs
- ProjectionPathBuilder.cs
- DataGridTablesFactory.cs
- ValueOfAction.cs
- AutoFocusStyle.xaml.cs
- Form.cs