TargetParameterCountException.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) {
        }
    } 
}


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK