TTMSFNCCloudBasePlatformServices.SupportsPlatformService Method
Returns
Truewhen a platform service is registered under the specified GUID.
API unit family: TMSFNCCloudBase
Declaring type: TTMSFNCCloudBasePlatformServices
Overloads
Overload 1
Returns
Truewhen a platform service is registered under the specified GUID.
function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AServiceGUID |
The GUID of the service to check. |
Returns
True if a service for the given GUID is registered; False otherwise.
Overload 2
Returns
Trueand setsAServicewhen a platform service is registered under the specified GUID.
function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;
Parameters
| Name | Description |
|---|---|
AServiceGUID |
The GUID of the service to retrieve. |
AService |
Set to the service interface when found; otherwise unchanged. |
Returns
True if a service for the given GUID is registered; False otherwise.