System.Xml.XmlConvert.CreateInvalidNameCharException C# (CSharp) Méthode

CreateInvalidNameCharException() static private méthode

static private CreateInvalidNameCharException ( string name, int index, ExceptionType exceptionType ) : Exception
name string
index int
exceptionType ExceptionType
Résultat System.Exception
        internal static Exception CreateInvalidNameCharException(string name, int index, ExceptionType exceptionType)
        {
            return CreateException(index == 0 ? SR.Xml_BadStartNameChar : SR.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(name, index), exceptionType, 0, index + 1);
        }