System.Runtime.Serialization.XmlObjectSerializer.GetTypeInfoError C# (CSharp) Method

GetTypeInfoError() static private method

static private GetTypeInfoError ( string errorMessage, Type type, Exception innerException ) : string
errorMessage string
type System.Type
innerException System.Exception
return string
        internal static string GetTypeInfoError(string errorMessage, Type type, Exception innerException)
        {
            string typeInfo = (type == null) ? string.Empty : SR.Format(SR.ErrorTypeInfo, DataContract.GetClrTypeFullName(type));
            string innerExceptionMessage = (innerException == null) ? string.Empty : innerException.Message;
            return SR.Format(errorMessage, typeInfo, innerExceptionMessage);
        }