IExternalService.IsValidServer
Description:
Implement this method to check if the given instance represents a valid server of this service.
Implement this method to check if the given instance represents a valid server of this service.
Remarks:
This method is invoked by the framework upon registration of a server for this service. The simplest implementation would be to test whether the type of the object is as expected, but a service may have other rules for validating its servers.
This method is invoked by the framework upon registration of a server for this service. The simplest implementation would be to test whether the type of the object is as expected, but a service may have other rules for validating its servers.
bool IsValidServer(
IExternalServer server
)
-
serverAn instance of a server that is to be validated.