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
- ResourcePermissionBase.cs
- UnmanagedBitmapWrapper.cs
- DynamicActionMessageFilter.cs
- ToolStripProgressBar.cs
- XamlGridLengthSerializer.cs
- MessageQueue.cs
- BufferAllocator.cs
- ValueCollectionParameterReader.cs
- CodeTypeMemberCollection.cs
- Set.cs
- MULTI_QI.cs
- _UriTypeConverter.cs
- GeometryModel3D.cs
- SchemaComplexType.cs
- GeneralEndpointIdentity.cs
- ReachPageContentSerializerAsync.cs
- SerializationUtility.cs
- BridgeDataRecord.cs
- DocumentApplication.cs
- TextBox.cs
- Debugger.cs
- DtdParser.cs
- ServiceDescriptionImporter.cs
- ListDictionaryInternal.cs
- UnhandledExceptionEventArgs.cs
- CrossAppDomainChannel.cs
- ToolBarPanel.cs
- SchemaConstraints.cs
- EventRouteFactory.cs
- TextCompositionEventArgs.cs
- Cursors.cs
- CheckBoxDesigner.cs
- HMACSHA384.cs
- __FastResourceComparer.cs
- TextContainerChangeEventArgs.cs
- CodePageUtils.cs
- SmiEventSink_DeferedProcessing.cs
- SafeFileHandle.cs
- SystemFonts.cs
- CompositeFontParser.cs
- IndentedWriter.cs
- ServiceEndpointCollection.cs
- RemotingConfiguration.cs
- IncrementalCompileAnalyzer.cs
- Brush.cs
- HtmlProps.cs
- DESCryptoServiceProvider.cs
- basemetadatamappingvisitor.cs
- StyleCollection.cs
- HtmlControl.cs
- TabPage.cs
- XPathExpr.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- TextBounds.cs
- NavigationPropertySingletonExpression.cs
- ListBindableAttribute.cs
- EnterpriseServicesHelper.cs
- RenderTargetBitmap.cs
- Vector3DAnimation.cs
- _DigestClient.cs
- Part.cs
- CroppedBitmap.cs
- FontSourceCollection.cs
- SqlNotificationRequest.cs
- DPTypeDescriptorContext.cs
- ProtocolsConfigurationHandler.cs
- BlurBitmapEffect.cs
- ThreadAttributes.cs
- EventLogWatcher.cs
- ControlPropertyNameConverter.cs
- cookieexception.cs
- TemplateControlBuildProvider.cs
- OutputCacheSection.cs
- WindowInteropHelper.cs
- RoleService.cs
- EarlyBoundInfo.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ApplicationSettingsBase.cs
- PieceNameHelper.cs
- TemplatePartAttribute.cs
- ReadWriteSpinLock.cs
- SamlSerializer.cs
- PropertyToken.cs
- PeerTransportListenAddressConverter.cs
- WpfXamlLoader.cs
- AsyncCallback.cs
- FileStream.cs
- MutexSecurity.cs
- SqlStatistics.cs
- WindowsGraphics.cs
- SqlCacheDependencySection.cs
- StylusPointProperty.cs
- RegistryHandle.cs
- LookupNode.cs
- FlowDocumentFormatter.cs
- AuthenticationConfig.cs
- ScrollEventArgs.cs
- CodeMethodInvokeExpression.cs
- XPathDocumentIterator.cs
- ConfigurationErrorsException.cs