EMS.ResourceAPI.TEMSEndpointManager.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: TEMSEndpointManager

Delphi

class property Instance: TEMSEndpointManager read GetInstance;

C++

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

Description

Instance of a subclass of TEMSEndpointManager.

A subclass of TEMSEndpointManager must assign to the TEMSEndpointManager.FEndpointManagerFactory 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 TEMSEndpointManager.FEndpointManagerFactory is defined, Instance raises an EEMSError exception with the following message:

No endpoint implementation found

See Also