コード例 #1
0
 internal static FaultException.FaultCodeData[] GetObjectData(FaultCode code)
 {
     FaultException.FaultCodeData[] dataArray = new FaultException.FaultCodeData[GetDepth(code)];
     for (int i = 0; i < dataArray.Length; i++)
     {
         dataArray[i]      = new FaultException.FaultCodeData();
         dataArray[i].name = code.Name;
         dataArray[i].ns   = code.Namespace;
         code = code.SubCode;
     }
     return(dataArray);
 }
コード例 #2
0
 internal static FaultException.FaultCodeData[] GetObjectData(FaultCode code)
 {
     FaultException.FaultCodeData[] dataArray = new FaultException.FaultCodeData[GetDepth(code)];
     for (int i = 0; i < dataArray.Length; i++)
     {
         dataArray[i] = new FaultException.FaultCodeData();
         dataArray[i].name = code.Name;
         dataArray[i].ns = code.Namespace;
         code = code.SubCode;
     }
     return dataArray;
 }