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
- StrokeIntersection.cs
- DefaultShape.cs
- ButtonChrome.cs
- DoubleAnimationClockResource.cs
- TextSerializer.cs
- RegexStringValidator.cs
- TransformerTypeCollection.cs
- XmlSchemaProviderAttribute.cs
- TlsnegoTokenProvider.cs
- DependencyObjectPropertyDescriptor.cs
- ReachSerializerAsync.cs
- coordinatorscratchpad.cs
- followingquery.cs
- RadioButtonPopupAdapter.cs
- QueryParameter.cs
- EventManager.cs
- SessionPageStatePersister.cs
- CalendarDay.cs
- StandardCommands.cs
- AssemblyEvidenceFactory.cs
- MetadataException.cs
- TextTreeFixupNode.cs
- CheckedPointers.cs
- LogicalMethodInfo.cs
- WindowsContainer.cs
- LeftCellWrapper.cs
- Span.cs
- SHA512Cng.cs
- Int32RectValueSerializer.cs
- ToolStripPanelDesigner.cs
- QualificationDataItem.cs
- NativeMethods.cs
- ResponseBodyWriter.cs
- ResourceCategoryAttribute.cs
- HttpCapabilitiesBase.cs
- CharConverter.cs
- WebResourceUtil.cs
- ObjectViewQueryResultData.cs
- ByteStream.cs
- ColumnCollection.cs
- NullableBoolConverter.cs
- AutoGeneratedField.cs
- HostSecurityManager.cs
- CodeVariableDeclarationStatement.cs
- BoolLiteral.cs
- KerberosSecurityTokenProvider.cs
- TextStore.cs
- _ListenerAsyncResult.cs
- ActivityInterfaces.cs
- XmlSchemaAny.cs
- ToolBarButtonClickEvent.cs
- IgnoreSectionHandler.cs
- StateWorkerRequest.cs
- HierarchicalDataSourceDesigner.cs
- TextStore.cs
- PropertyNames.cs
- ObjectManager.cs
- CancellationState.cs
- AttributeParameterInfo.cs
- DbDataReader.cs
- ContainerSelectorBehavior.cs
- DictionaryEntry.cs
- AdornedElementPlaceholder.cs
- XPathDescendantIterator.cs
- FileUpload.cs
- RefType.cs
- Directory.cs
- BorderGapMaskConverter.cs
- AspNetSynchronizationContext.cs
- backend.cs
- DocumentViewerBaseAutomationPeer.cs
- Opcode.cs
- DesignerOptions.cs
- TabControl.cs
- ListBase.cs
- InputMethodStateTypeInfo.cs
- XmlSchemaIdentityConstraint.cs
- base64Transforms.cs
- DateTimeConstantAttribute.cs
- Int32Rect.cs
- AssemblyUtil.cs
- ConnectionPoint.cs
- TryCatchDesigner.xaml.cs
- ProxyWebPart.cs
- GAC.cs
- recordstate.cs
- Vector3DAnimationBase.cs
- SchemaImporterExtensionsSection.cs
- __ComObject.cs
- XNodeNavigator.cs
- Paragraph.cs
- DataGridViewCellPaintingEventArgs.cs
- TextRunTypographyProperties.cs
- ObjectQueryExecutionPlan.cs
- MeshGeometry3D.cs
- Line.cs
- SafeNativeMethodsOther.cs
- GenericUriParser.cs
- AdCreatedEventArgs.cs
- DataTemplateSelector.cs