2027 Class
Changes 0
C

ExternalServiceRegistry

Description:
This class gives access to external services. Use it to register external services with Revit and execute them. Only the application that registers a service is allowed to execute it.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ExternalService.ExternalServiceRegistry
public static class ExternalServiceRegistry
Name Return Type Description
M ExecuteService(Guid, IExternalData) ExternalServiceResult Execute a service independently of any document.
M ExecuteService(Guid, Document, IExternalData) ExternalServiceResult Execute the service for the given document.
M ExecuteService(Guid, Guid, IExternalData) ExternalServiceResult Execute the service by the given server.
M GetService(ExternalServiceId) ExternalService Returns an instance of an object that represents the external service with the given Id.
M GetServices() IList<ExternalService> Returns a collection of all external services currently registered in Revit.
M RegisterService(ISingleServerService, ExternalServiceOptions) Guid A method to register a single-server service.
M RegisterService(IMultiServerService, ExternalServiceOptions, ExecutionPolicy) Guid A method to register a multi-server service.
M RegisterService(ISingleServerService, Guid, ExternalServiceOptions) Guid A method to register a mandatory, single-server service.