EMS.ResourceAPI.TEMSResource.DoCanHandleRequest
Delphi
function DoCanHandleRequest(const AContext: TEndpointContext; out AEndpointName: string): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoCanHandleRequest(TEndpointContext* const AContext, /* out */ System::UnicodeString &AEndpointName) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | TEMSResource |
Description
If this EMS resource can handle the specified request context, DoCanHandleRequest 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, DoCanHandleRequest returns False
.
DoCanHandleRequest is an abstract method. You must implement this method with the behavior described above in any subclass of TEMSResource.