System.Xml.XmlConvert.CreateInvalidNameCharException C# (CSharp) Метод

CreateInvalidNameCharException() статический приватный Метод

static private CreateInvalidNameCharException ( string name, int index, ExceptionType exceptionType ) : Exception
name string
index int
exceptionType ExceptionType
Результат 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);
        }