System.Xml.Serialization.XmlSerializationReader.CreateCtorHasSecurityException C# (CSharp) Method

CreateCtorHasSecurityException() protected method

protected CreateCtorHasSecurityException ( string typeName ) : Exception
typeName string
return Exception
        protected Exception CreateCtorHasSecurityException(string typeName)
        {
            return new InvalidOperationException(SR.Format(SR.XmlConstructorHasSecurityAttributes, typeName));
        }