EMS.Services.IEMSResourceRequest.CreateRequestContext

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.Services.pas
EMS.Services.hpp
Unit: EMS.Services
Parent: IEMSResourceRequest

Delphi

function CreateRequestContext(const AContext: TEndpointContext): IEMSResourceRequestContext;

C++

virtual _di_IEMSResourceRequestContext __fastcall CreateRequestContext(Ems::Resourceapi::TEndpointContext* const AContext) = 0 ;

Description

Creates the context of an EMS Resource request.

CreateRequestContext uses the EMS Resource endpoint context AContext parameter to create the context of the custom resource endpoint.

CreateRequestContext returns an IEMSResourceRequestContext that is used in the requests to the EMS Resources. If the endpoint context identifies a user, this response identifies the same user.

See Also