/// <summary>
 /// Creates a new instance of a ServiceResultException
 /// </summary>
 public static ServiceResultException Create(StatusCode code, int index, DiagnosticInfoCollection diagnosticInfos, IList <string> stringTable)
 {
     return(new ServiceResultException(new ServiceResult(code, index, diagnosticInfos, stringTable)));
 }