SingleServerService
Description:
This class represents a single-server service inside Revit application. It is created when an instance of ISingleServerService is registered with Revit.
This class represents a single-server service inside Revit application. It is created when an instance of ISingleServerService is registered with Revit.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ExternalService.ExternalService
Autodesk.Revit.DB.ExternalService.SingleServerService
System.Object
Autodesk.Revit.DB.ExternalService.ExternalService
Autodesk.Revit.DB.ExternalService.SingleServerService
public class SingleServerService : ExternalService
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddServer(IExternalServer) | None | Registers a server with its service. (Inherited from ExternalService ) | ExternalService |
| Dispose() | None | (Inherited from ExternalService ) | ExternalService |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetActiveServerId() | Guid | Returns the Id of the currently active application-level server of the service. | |
| GetActiveServerId(Document) | Guid | Returns the Id of the server currently associated with the given document for the service. | |
| GetDefaultServerId() | Guid | Returns the Id of the default server if one was assigned to the service. (Inherited from ExternalService ) | ExternalService |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetOptions() | ExternalServiceOptions | A copy of the options the service was registered with. (Inherited from ExternalService ) | ExternalService |
| GetPublicAccessKey() | Guid | Access key to use to execute a service. (Inherited from ExternalService ) | ExternalService |
| GetRegisteredServerIds() | IList<Guid> | Returns Ids of all servers registered for the service. (Inherited from ExternalService ) | ExternalService |
| GetServer(Guid) | IExternalServer | Returns the instance that provides implementation for a registered server. (Inherited from ExternalService ) | ExternalService |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| IsRegisteredServerId(Guid) | Boolean | Checks if the Id represents a valid server that has been registered for the service. (Inherited from ExternalService ) | ExternalService |
| RemoveServer(Guid) | None | Removes/unregisters a server from the service. (Inherited from ExternalService ) | ExternalService |
| SetActiveServer(Guid) | None | Set an active server applicable application-wide for the service. | |
| SetActiveServer(Guid, Document) | None | Change the active server for a specific document. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| UnsetActiveServer(Document) | None | Unset the active server for the particular document. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Description | string | The description for the service (Inherited from ExternalService ) | ExternalService |
| IsSerializable | bool | Indicates whether executions of the service requires serialization in documents or not. (Inherited from ExternalService ) | ExternalService |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from ExternalService ) | ExternalService |
| Name | string | The name of the service (Inherited from ExternalService ) | ExternalService |
| NumberOfServers | int | Indicates the number of servers currently registered with the service. (Inherited from ExternalService ) | ExternalService |
| ServiceId | ExternalServiceId | The Id of the service (Inherited from ExternalService ) | ExternalService |
| SupportActivation | bool | Indicates if the service supports activation/deactivation of the servers. (Inherited from ExternalService ) | ExternalService |
| VendorId | string | The vendor who provided the service (Inherited from ExternalService ) | ExternalService |