EMS.ResourceAPI.TEMSResource.CanHandleRequest

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function CanHandleRequest(const AContext: TEndpointContext; out AEndpointName: string): Boolean;

C++

bool __fastcall CanHandleRequest(TEndpointContext* const AContext, /* out */ System::UnicodeString &AEndpointName);

Description

If this EMS resource can handle the specified request context, CanHandleRequest returns True and fills AEndpointName with the name of the endpoint of the EMS resource that can handle the specified request context. If this EMS resource cannot handle the specified request context, CanHandleRequest returns False.

See Also