Skip to content

ExternalServiceOptions.IsPublic

Public Property

This property denotes a service as either public or private.

Namespace: Autodesk.Revit.DB.ExternalService

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

Syntax

public bool IsPublic { get; set; }

Property Value

Boolean

Remarks

A public service can be executed by anyone, while a private service can be execute only by the caller who registered it (the owner of the service, typically), or by someone who has access to the service’s execution key.

Unless specified otherwise, all services are created as private by default.