Share

ExternalServiceOptions 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ExternalServiceOptions : IDisposable

The ExternalServiceOptions type exposes the following members.

Constructors

 NameDescription
Public methodExternalServiceOptions Constructs a new ExternalServiceOptions with default settings.

Properties

 NameDescription
Public propertyIsPublic This property denotes a service as either public or private.
Public propertyIsRecordable Indicates whether executions of the service is recorded in documents or not.
Public propertyIsSelfsynchronizing 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 propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertySupportActivation Indicates if the service supports activation/deactivation of the servers.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the ExternalServiceOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns 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.

See Also

Reference

Was this information helpful?