Skip to content

ExternalServiceOptions

Public Class

Various options affecting the behavior of an External Service

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ExternalService.ExternalServiceOptions

Namespace: Autodesk.Revit.DB.ExternalService

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ExternalServiceOptions : IDisposable

The ExternalServiceOptions type exposes the following members.

Constructors

Name

Description


Public Method
ExternalServiceOptions

Constructs a new ExternalServiceOptions with default settings.


Properties

Name

Description


Public Property
IsPublic

This property denotes a service as either public or private.


Public Property
IsRecordable

Indicates whether executions of the service is recorded in documents or not.


Public Property
IsSelfsynchronizing

Indicates whether the service’s record of used services (in a particular document) can independently wary between local clients and the corresponding central model. It is then up to the service’s owner to assure proper local-central synchronization.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
SupportActivation

Indicates if the service supports activation/deactivation of the servers.


Methods

Name

Description


Public Method

Releases all resources used by the ExternalServiceOptions


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

Options are provided at the time of registering a service. After a service is registered, the options cannot be changed.