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
- PropertyEmitterBase.cs
- RootBrowserWindowProxy.cs
- xamlnodes.cs
- FromReply.cs
- NotifyIcon.cs
- PeerOutputChannel.cs
- Deflater.cs
- UriSection.cs
- OdbcHandle.cs
- SQLInt32.cs
- PathGradientBrush.cs
- TemplatingOptionsDialog.cs
- TraceData.cs
- ConstructorNeedsTagAttribute.cs
- OperationPerformanceCounters.cs
- TraceData.cs
- BaseCodePageEncoding.cs
- TableSectionStyle.cs
- SimpleWebHandlerParser.cs
- DataTableMappingCollection.cs
- DispatcherObject.cs
- ThreadAttributes.cs
- GridViewCommandEventArgs.cs
- InputManager.cs
- RectangleF.cs
- SspiSafeHandles.cs
- DefaultProxySection.cs
- OutputCache.cs
- SqlDataSourceCache.cs
- Memoizer.cs
- FixedStringLookup.cs
- ToolBarTray.cs
- BaseParaClient.cs
- RoutedEventConverter.cs
- PasswordPropertyTextAttribute.cs
- HebrewNumber.cs
- ClassHandlersStore.cs
- StrongNameSignatureInformation.cs
- EtwTrace.cs
- ArgumentOutOfRangeException.cs
- ADMembershipProvider.cs
- Stylesheet.cs
- SQLDouble.cs
- DocumentReferenceCollection.cs
- Point3DKeyFrameCollection.cs
- ChannelSinkStacks.cs
- ClientScriptItemCollection.cs
- RoleBoolean.cs
- ForeignConstraint.cs
- WSFederationHttpSecurity.cs
- CompressStream.cs
- DataGridViewCellStateChangedEventArgs.cs
- TreeBuilderBamlTranslator.cs
- DesignerToolStripControlHost.cs
- UnsafeNativeMethods.cs
- RoutingTable.cs
- _ListenerRequestStream.cs
- DocumentPageTextView.cs
- LinqDataSourceContextEventArgs.cs
- DataGridViewCellStyle.cs
- TimelineGroup.cs
- ObjectConverter.cs
- ToolStripPanelCell.cs
- PersonalizationEntry.cs
- UnaryNode.cs
- FieldDescriptor.cs
- NameSpaceExtractor.cs
- HtmlInputHidden.cs
- OutputScopeManager.cs
- AdCreatedEventArgs.cs
- HiddenFieldPageStatePersister.cs
- XmlSchemaAttribute.cs
- WriteTimeStream.cs
- Int16.cs
- CertificateManager.cs
- UpDownEvent.cs
- DataViewSetting.cs
- TriggerCollection.cs
- GZipDecoder.cs
- CapabilitiesAssignment.cs
- SmtpClient.cs
- SequenceDesigner.cs
- UITypeEditors.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- DeadCharTextComposition.cs
- Types.cs
- GridViewPageEventArgs.cs
- CfgParser.cs
- EventRouteFactory.cs
- DataMemberAttribute.cs
- DependencyPropertyDescriptor.cs
- XamlInt32CollectionSerializer.cs
- DSACryptoServiceProvider.cs
- FileStream.cs
- HashMembershipCondition.cs
- HttpListenerRequestUriBuilder.cs
- SettingsPropertyCollection.cs
- UrlMapping.cs
- WebDescriptionAttribute.cs