External |
The ExternalService type exposes the following members.
Name | Description | |
---|---|---|
![]() | Description | The description for the service |
![]() | IsSerializable | Indicates whether executions of the service requires serialization in documents or not. |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | Name | The name of the service |
![]() | NumberOfServers | Indicates the number of servers currently registered with the service. |
![]() | ServiceId | The Id of the service |
![]() | SupportActivation | Indicates if the service supports activation/deactivation of the servers. |
![]() | VendorId | The vendor who provided the service |
Name | Description | |
---|---|---|
![]() | AddServer | Registers a server with its service. |
![]() | Dispose | Releases all resources used by the ExternalService |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetDefaultServerId | Returns the Id of the default server if one was assigned to the service. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetOptions | A copy of the options the service was registered with. |
![]() | GetPublicAccessKey | Access key to use to execute a service. |
![]() | GetRegisteredServerIds | Returns Ids of all servers registered for the service. |
![]() | GetServer | Returns the instance that provides implementation for a registered server. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | IsRegisteredServerId | Checks if the Id represents a valid server that has been registered for the service. |
![]() | RemoveServer | Removes/unregisters a server from the service. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
This is a base class from which SingleServerService and MultiServerService classes are inherited. It implements all basic methods, but the two inherited classes add more methods specific for that kind of service the class represents. Use this base class to get information about a service and its servers. Use the specific inherited classes to set or get active servers.
Summary of common methods: