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
- FlowDocumentPaginator.cs
- WaitForChangedResult.cs
- ExceptionNotification.cs
- BinaryObjectWriter.cs
- CheckoutException.cs
- TextDecorations.cs
- SchemaElementDecl.cs
- EntityDataSourceViewSchema.cs
- XmlSchemaComplexContent.cs
- ListViewHitTestInfo.cs
- OpenTypeCommon.cs
- FromRequest.cs
- AnchorEditor.cs
- SSmlParser.cs
- RoleManagerSection.cs
- StringExpressionSet.cs
- SqlCaseSimplifier.cs
- LinkedResourceCollection.cs
- IsolatedStoragePermission.cs
- ParallelTimeline.cs
- DragEventArgs.cs
- PenThreadWorker.cs
- StreamGeometry.cs
- SHA512Managed.cs
- DataTrigger.cs
- ObjectHandle.cs
- PropertyRecord.cs
- FlowLayoutSettings.cs
- DataGridHyperlinkColumn.cs
- RemoteWebConfigurationHostServer.cs
- MemberListBinding.cs
- OrthographicCamera.cs
- X509Certificate2.cs
- ValidationPropertyAttribute.cs
- ReflectPropertyDescriptor.cs
- ListViewCancelEventArgs.cs
- XmlConvert.cs
- StreamReader.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- RecordConverter.cs
- String.cs
- HttpResponseHeader.cs
- PropertySourceInfo.cs
- StringToken.cs
- ShaderEffect.cs
- SafeCryptContextHandle.cs
- DetailsViewActionList.cs
- BamlLocalizableResource.cs
- XPathNavigatorReader.cs
- GlobalizationSection.cs
- MappingSource.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DataControlReferenceCollection.cs
- SyndicationItemFormatter.cs
- ViewPort3D.cs
- DataStorage.cs
- ResourceSet.cs
- TargetConverter.cs
- ResourceReferenceExpression.cs
- XmlJsonWriter.cs
- LinearQuaternionKeyFrame.cs
- SystemIPAddressInformation.cs
- OperatorExpressions.cs
- connectionpool.cs
- RuleValidation.cs
- ProfileGroupSettingsCollection.cs
- EditBehavior.cs
- SerialErrors.cs
- SelectionHighlightInfo.cs
- VersionedStream.cs
- StatusBarPanelClickEvent.cs
- XmlSecureResolver.cs
- CodeArgumentReferenceExpression.cs
- DataGridHelper.cs
- ShapeTypeface.cs
- DoubleAverageAggregationOperator.cs
- KnownTypesHelper.cs
- ISAPIApplicationHost.cs
- PolygonHotSpot.cs
- ObfuscationAttribute.cs
- String.cs
- EntityDataSourceViewSchema.cs
- TimeSpanStorage.cs
- SafeMarshalContext.cs
- JsonCollectionDataContract.cs
- WebPartConnection.cs
- SecurityTokenValidationException.cs
- _AutoWebProxyScriptWrapper.cs
- ExpressionVisitor.cs
- ServerValidateEventArgs.cs
- GenericsInstances.cs
- Action.cs
- InkPresenterAutomationPeer.cs
- StateWorkerRequest.cs
- Activation.cs
- BlurBitmapEffect.cs
- GuidelineCollection.cs
- CursorConverter.cs
- SqlClientFactory.cs
- DataTemplateSelector.cs