EMS.ResourceAPI.TEndpointRequestBody.GetBytes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetBytes: TBytes;

C++

System::DynamicArray<System::Byte> __fastcall GetBytes();

Properties

Type Visibility Source Unit Parent
function public
EMS.ResourceAPI.pas
EMS.ResourceAPI.hpp
EMS.ResourceAPI TEndpointRequestBody

Description

Returns the body as an instance of TBytes or raises an exception.

If GetBytes cannot return the body, it raises an EEMSEndpointError exception with the following message:

Body does not contain TBytes

See Also