CreateServiceResponse method

  1. @override
GetAttachmentResponse CreateServiceResponse(
  1. ExchangeService service,
  2. int responseIndex
)
override
Creates the service response. The service. Index of the response.

Implementation

@override
GetAttachmentResponse CreateServiceResponse(
    ExchangeService service, int responseIndex) {
  return new GetAttachmentResponse(
      this.Attachments.length > 0 ? this.Attachments[responseIndex] : null);
}