In dll,
public class ErrorMessage
{
public string type { get; set; }
public string code { get; set; }
public string category { get; set; }
public string message { get; set; }
public string status { get; set; }
}
public List<ErrorMessage> errorMessages { get; set; }
ClrObject enumeratorError;
IT_ZatcaIntegration.ErrorMessage errorMessage = new IT_ZatcaIntegration.ErrorMessage();
{
enumeratorError = ListError.GetEnumerator();
{
// errorMessage = enumeratorError.get_Current();
integrationLineLog.ErrorCode = errorMessage.get_code();
integrationLineLog.ErrorMessage = errorMessage.get_message();
integrationLineLog.ErrorStatus = errorMessage.get_status();
integrationLineLog.ErrorType = errorMessage.get_type();
integrationLineLog.insert();
}
}
Could anyone please help me on this to resolve this issue?