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
- MDIClient.cs
- XmlComplianceUtil.cs
- DropDownButton.cs
- PropertyEmitterBase.cs
- FamilyCollection.cs
- FilteredAttributeCollection.cs
- StringUtil.cs
- _UriSyntax.cs
- BaseValidator.cs
- EmissiveMaterial.cs
- ConnectionString.cs
- RelOps.cs
- TextAction.cs
- GreenMethods.cs
- FocusChangedEventArgs.cs
- XmlAttribute.cs
- HttpStreamXmlDictionaryWriter.cs
- Bitmap.cs
- ServiceProviders.cs
- TabletDeviceInfo.cs
- ProcessModelSection.cs
- Line.cs
- SystemFonts.cs
- CompoundFileIOPermission.cs
- SecurityDescriptor.cs
- TokenDescriptor.cs
- SyndicationLink.cs
- PropertyTab.cs
- SHA384.cs
- ErrorHandlingReceiver.cs
- DefaultWorkflowSchedulerService.cs
- WindowsSecurityToken.cs
- MemberInfoSerializationHolder.cs
- CustomAttributeBuilder.cs
- HostProtectionPermission.cs
- hwndwrapper.cs
- XmlCharType.cs
- RectValueSerializer.cs
- OLEDB_Enum.cs
- NativeMethods.cs
- Context.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- Misc.cs
- WebPartEditorCancelVerb.cs
- WorkflowHostingEndpoint.cs
- DataGridViewCellMouseEventArgs.cs
- QilInvoke.cs
- SubclassTypeValidator.cs
- SmiConnection.cs
- DrawingGroup.cs
- FrameDimension.cs
- EdmFunction.cs
- DataGridViewCellStyle.cs
- BuildProviderAppliesToAttribute.cs
- Logging.cs
- CultureInfoConverter.cs
- PersonalizationEntry.cs
- SessionState.cs
- XmlQueryRuntime.cs
- MetadataFile.cs
- ADMembershipUser.cs
- GatewayDefinition.cs
- TableRowGroup.cs
- Inflater.cs
- GB18030Encoding.cs
- TabItem.cs
- odbcmetadatacollectionnames.cs
- References.cs
- WorkflowWebHostingModule.cs
- RadioButton.cs
- TextAutomationPeer.cs
- MailMessageEventArgs.cs
- WmpBitmapEncoder.cs
- ConstructorNeedsTagAttribute.cs
- StyleCollection.cs
- OrderByLifter.cs
- WsdlInspector.cs
- PixelFormatConverter.cs
- Invariant.cs
- QilSortKey.cs
- TreeNodeStyleCollection.cs
- WpfPayload.cs
- EditorPart.cs
- SubMenuStyleCollection.cs
- DBParameter.cs
- OperationAbortedException.cs
- CodeTryCatchFinallyStatement.cs
- DocumentViewerHelper.cs
- MaskDescriptor.cs
- RawUIStateInputReport.cs
- DocumentEventArgs.cs
- PlainXmlWriter.cs
- PathTooLongException.cs
- UpdatePanelTriggerCollection.cs
- DuplicateDetector.cs
- HttpHeaderCollection.cs
- MaterialGroup.cs
- NameHandler.cs
- EdmType.cs
- WebPartConnectionsCloseVerb.cs