public GetFolderResponseType GetFolder(GetFolderType request)
{
// Send the request and get the response.
GetFolderResponseType response = this.exchangeServiceBinding.GetFolder(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.VerifyGetFolderResponse(response, this.exchangeServiceBinding.IsSchemaValidated);
this.VerifyAllRelatedRequirements(this.exchangeServiceBinding.IsSchemaValidated, response);
}
// Verify transport type related requirement.
this.VerifyTransportType();
// Verify soap version.
this.VerifySoapVersion();
return response;
}