Hi,

I am using Google.GData.Contacts DLL version 1.7.0.1 (runtime version 
v2.0.50727), and I can't insert a new contact if the latter has an email 
address.
In the code below, uncommenting the 'entry.Emails.Add...' triggers an 
exception in the 'cr.Insert'.
            
            RequestSettings rs = new RequestSettings("MyApp", username, 
password);
            ContactsRequest cr = new ContactsRequest(rs);

            Google.Contacts.Contact entry = new Google.Contacts.Contact();
            entry.Name = new Name();
            entry.Name.FullName = "John Doe";
            //entry.Emails.Add(new EMail("[email protected]"));
            Uri feedUri = new 
Uri(ContactsQuery.CreateContactsUri("default"));
            cr.Insert(feedUri, entry);


Can anyone explain why?
Thanks.

Xavier.


-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to