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.
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
System.Object
Autodesk.Revit.DB.ExternalService.ExternalServiceRegistry
public static class ExternalServiceRegistry
| Name | Return Type | Description |
|---|---|---|
| ExecuteService(Guid, IExternalData) | ExternalServiceResult | Execute a service independently of any document. |
| ExecuteService(Guid, Document, IExternalData) | ExternalServiceResult | Execute the service for the given document. |
| ExecuteService(Guid, Guid, IExternalData) | ExternalServiceResult | Execute the service by the given server. |
| GetService(ExternalServiceId) | ExternalService | Returns an instance of an object that represents the external service with the given Id. |
| GetServices() | IList<ExternalService> | Returns a collection of all external services currently registered in Revit. |
| RegisterService(ISingleServerService, ExternalServiceOptions) | Guid | A method to register a single-server service. |
| RegisterService(IMultiServerService, ExternalServiceOptions, ExecutionPolicy) | Guid | A method to register a multi-server service. |
| RegisterService(ISingleServerService, Guid, ExternalServiceOptions) | Guid | A method to register a mandatory, single-server service. |