public EmptyFolderResponseType EmptyFolder(EmptyFolderType request)
{
// Send the request and get the response.
EmptyFolderResponseType response = this.exchangeServiceBinding.EmptyFolder(request);
Site.Assert.IsNotNull(response, "If the operation is successful, the response should not be null.");
if (ResponseClassType.Success == response.ResponseMessages.Items[0].ResponseClass)
{
this.VerifyEmptyFolderResponse(this.exchangeServiceBinding.IsSchemaValidated);
this.VerifyAllRelatedRequirements(this.exchangeServiceBinding.IsSchemaValidated, response);
}
// Verify transport type related requirement.
this.VerifyTransportType();
// Verify soap version.
this.VerifySoapVersion();
return response;
}