1
Vote

Error in public IEnumerable<IMessengerContact> GetMyContacts()

description

When i call this function i and want to iterate it I became the following error message "{"COM object that has been separated from its underlying RCW cannot be used."}" . I debug it and removed the following code
 
 
finally
{
    ReleaseComObject(contacts);
}
 
after i do this everting was working fine.
 
Please give me a short feed back.
 
Best regards
 
Florian

comments