Hotmail

creating a lead in webservice

待回答 0 个回答

归档帖子,发布于 2013年9月12日。 产品:Hotmail(已停止开发)。 其中的信息可能已经过时。

本帖暂无中文翻译,以下为英文原文。

问题 提问于 2013年9月12日


private Guid CreateLead(IOrganizationService _service)
    {
        Entity Lead = new Entity("lead");
        Lead.Attributes["Topic"] = "************";
        Lead.Attributes["FirstName"] = "*";
        Lead.Attributes["LastName"] = "*****"
        Lead.Attributes["CompanyName"] = "****"
        Lead.Attributes["Email"] = "****"
        Guid id = _service.Create(Lead);


Error message

'Leadaccount.CreateLead(Microsoft.Xrm.Sdk.IOrganizationService)': not all code paths return a value

Q

暂无回答

撰写回答

您的邮箱地址不会被公开。请勿发布密码。

This site uses Akismet to reduce spam. Learn how your comment data is processed.