SingleServerService Members


The SingleServerService type exposes the following members.

Methods

  NameDescription
Public methodAddServer
Registers a server with its service.
(Inherited from ExternalService.)
Public methodDispose (Inherited from ExternalService.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetActiveServerId
Returns the Id of the currently active application-level server of the service.
Public methodGetActiveServerId(Document)
Returns the Id of the server currently associated with the given document for the service.
Public methodGetDefaultServerId
Returns the Id of the default server if one was assigned to the service.
(Inherited from ExternalService.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOptions
A copy of the options the service was registered with.
(Inherited from ExternalService.)
Public methodGetPublicAccessKey
Access key to use to execute a service.
(Inherited from ExternalService.)
Public methodGetRegisteredServerIds
Returns Ids of all servers registered for the service.
(Inherited from ExternalService.)
Public methodGetServer
Returns the instance that provides implementation for a registered server.
(Inherited from ExternalService.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRegisteredServerId
Checks if the Id represents a valid server that has been registered for the service.
(Inherited from ExternalService.)
Public methodRemoveServer
Removes/unregisters a server from the service.
(Inherited from ExternalService.)
Public methodSetActiveServer(Guid)
Set an active server applicable application-wide for the service.
Public methodSetActiveServer(Guid, Document)
Change the active server for a specific document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsetActiveServer
Unset the active server for the particular document.

Properties

  NameDescription
Public propertyDescription
The description for the service
(Inherited from ExternalService.)
Public propertyIsSerializable
Indicates whether executions of the service requires serialization in documents or not.
(Inherited from ExternalService.)
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from ExternalService.)
Public propertyName
The name of the service
(Inherited from ExternalService.)
Public propertyNumberOfServers
Indicates the number of servers currently registered with the service.
(Inherited from ExternalService.)
Public propertyServiceId
The Id of the service
(Inherited from ExternalService.)
Public propertySupportActivation
Indicates if the service supports activation/deactivation of the servers.
(Inherited from ExternalService.)
Public propertyVendorId
The vendor who provided the service
(Inherited from ExternalService.)

See Also