EMS.ResourceAPI.TEMSEndpointAuthorization.Instance

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

class property Instance: TEMSEndpointAuthorization read GetInstance;

C++

/* static */ __property TEMSEndpointAuthorization* Instance = {read=GetInstance};

Description

Instance of a subclass of TEMSEndpointAuthorization.

A subclass of TEMSEndpointAuthorization must assign to the TEMSEndpointAuthorization.FEndpointAuthorizationFactory class property a function which returns an instance of that subclass. If you read the Instance property for the first time before the value of TEMSEndpointAuthorization.FEndpointAuthorizationFactory is defined, Instance raises an EEMSError exception with the following message:

No endpoint implementation found

See Also