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