public GetAttachmentCollectionResponseGetAttachmentCollectionResult GetAttachmentCollection(string listName, string listItemID)
{
this.Site.Assert.IsNotNull(this.listsProxy, "The Proxy instance should not be NULL. If assert failed, the adapter need to be initialized");
GetAttachmentCollectionResponseGetAttachmentCollectionResult result = null;
try
{
result = this.listsProxy.GetAttachmentCollection(listName, listItemID);
// Verify the requirements of GetAttachmentCollection operation.
this.VerifyGetAttachmentCollectionOperation(result);
}
catch (XmlSchemaValidationException exp)
{
// Log the errors and warnings
this.LogSchemaValidationErrors();
this.Site.Assert.Fail(exp.Message);
}
catch (SoapException)
{
this.VerifySoapExceptionFault();
throw;
}
return result;
}