SenseNet.ContentRepository.Storage.NodeIsOutOfDateException.FormatMessage C# (CSharp) Méthode

FormatMessage() private static méthode

private static FormatMessage ( Exception inner, int nodeId, string path, int versionId, VersionNumber versionNumber, long timestamp ) : string
inner System.Exception
nodeId int
path string
versionId int
versionNumber VersionNumber
timestamp long
Résultat string
        private static string FormatMessage(Exception inner, int nodeId, string path, int versionId, VersionNumber versionNumber, long timestamp)
        {
            string message = null;
            if (inner != null)
                message = inner.Message;
            if (String.IsNullOrEmpty(message))
                message = "Node is out of date";
            return String.Format("{0} NodeId: {1}, VersionId: {2}, Version: {3}, Path: {4}, Invalid timestamp: {5}", message, nodeId, path, versionId, versionNumber, timestamp);
        }
    }