EMS.ResourceAPI.TEndpointRequestBody.GetStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetStream: TStream;

C++

System::Classes::TStream* __fastcall GetStream();

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 TStream or raises an exception.

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

Body does not contain TStream

See Also