Share

ExternalServiceId Class

Unique identifier of an external service.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.GuidEnum
    Autodesk.Revit.DB.ExternalService.ExternalServiceId


Namespace: Autodesk.Revit.DB.ExternalService
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ExternalServiceId : GuidEnum

The ExternalServiceId type exposes the following members.

Constructors

 NameDescription
Public methodExternalServiceIdCreates a new ExternalServiceId instance.

Properties

 NameDescription
Public propertyGuid The Guid of GUID-based enum object.
(Inherited from GuidEnum)

Methods

 NameDescription
Public methodEquals Compares two Guid-based enum object based on their concrete class and GUID value.
(Inherited from GuidEnum)
Public methodGetHashCode Generates a hash code for this Guid-based enum object.
(Inherited from GuidEnum)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Operators

 NameDescription
Public operatorStatic memberEquality(ExternalServiceId, ExternalServiceId)Compares two ExternalServiceId instances.
Public operatorStatic memberInequality(ExternalServiceId, ExternalServiceId)Compares two ExternalServiceId instances.

Remarks

Each external service must have a unique ExternalServiceId. The Id can be registered with Revit for servers to easily find it. Unique ExternalServiceId should be created using GUID generation tool. ExternalServiceId can later be used to access registered external services.

See Also

Reference

Was this information helpful?