MultiServerService
Description:
This class represents a multi-server service inside Revit application. It is created when an instance of IMultiServerService is registered with Revit.
This class represents a multi-server service inside Revit application. It is created when an instance of IMultiServerService is registered with Revit.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ExternalService.ExternalService
Autodesk.Revit.DB.ExternalService.MultiServerService
System.Object
Autodesk.Revit.DB.ExternalService.ExternalService
Autodesk.Revit.DB.ExternalService.MultiServerService
public class MultiServerService : ExternalService
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetActiveServerIds() | IList<Guid> | Returns Ids of the currently active application-level servers registered for the service. | |
| GetActiveServerIds(Document) | IList<Guid> | Returns Ids of the servers currently applicable to the given document for the service. | |
| SetActiveServers(IList<Guid>) | None | Changes the active servers and/or their order. | |
| SetActiveServers(IList<Guid>, Document) | None | Changes the active servers and/or their order for the given document. | |
| AddServer(IExternalServer) | None | Registers a server with its service. | ExternalService |
| Dispose() | None | Releases all resources used by the | ExternalService |
| GetDefaultServerId() | Guid | Returns the Id of the default server if one was assigned to the service. | ExternalService |
| GetOptions() | ExternalServiceOptions | A copy of the options the service was registered with. | ExternalService |
| GetPublicAccessKey() | Guid | Access key to use to execute a service. | ExternalService |
| GetRegisteredServerIds() | IList<Guid> | Returns Ids of all servers registered for the service. | ExternalService |
| GetServer(Guid) | IExternalServer | Returns the instance that provides implementation for a registered server. | ExternalService |
| IsRegisteredServerId(Guid) | bool | Checks if the Id represents a valid server that has been registered for the service. | ExternalService |
| RemoveServer(Guid) | None | Removes/unregisters a server from the service. | ExternalService |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ExecutionPolicy | ExecutionPolicy | Specifies how a multi-server service executes servers during its execution. | |
| Description | string | The description for the service | ExternalService |
| IsSerializable | bool | Indicates whether executions of the service requires serialization in documents or not. | ExternalService |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | ExternalService |
| Name | string | The name of the service | ExternalService |
| NumberOfServers | int | Indicates the number of servers currently registered with the service. | ExternalService |
| ServiceId | ExternalServiceId | The Id of the service | ExternalService |
| VendorId | string | The vendor who provided the service | ExternalService |