ServerObjectInterceptorAttribute Class

Use ServerObjectInterceptorAttribute to annotate the main SOI class.


Constructors

NameDescription
ServerObjectInterceptorAttribute(String)Initializes a new instance of the ServerObjectInterceptor class

ServerObjectInterceptorAttribute(String) Constructor

SOI attribute constructor. The serverobject parameter supports ImageServer since 10.8.1.

1
public ServerObjectInterceptorAttribute(string serverobject)
Parameter nameDescription
serverobjectType of the server object that this SOI was designed for. Example: 'MapServer'.

Properties

PropertyProperty valueDescription
ServerObjectInterceptorAttribute.DisplayNameStringSOI display name that you will see in Manager or other admin client.
ServerObjectInterceptorAttribute.DescriptionStringSOI description.
ServerObjectInterceptorAttribute.SupportsSharedInstancesBooleanShows that SOI supports deployment to Shared Instances host. Default is false.
ServerObjectInterceptorAttribute.PropertiesStringSOI properties.
ServerObjectInterceptorAttribute.ServerObjectTypeStringType of the server object that this SOI was designed for. Example: 'MapServer'.
ServerObjectInterceptorAttribute.HasManagerPropertiesConfigurationPaneBooleanSet this flag to true if you have custom JS widged for the SOE properties pane in Manager.
ServerObjectExtensionAttribute.SOAPNamespaceURIStringSets SOAP namespace URI for the add-in configuration. See SimpleRESTSOEWithProperties SDK sample for details.

ServerObjectInterceptorAttribute.Properties Property

Property Value: String

SOI properties. List of name=value string pairs in a semicolon-separated list. Multiple properties can be defined as name1=value1;name2=value2.

Example: This example shows how to define SOI properties.

1
2
3
4
5
6
7
8
9
10
    [ServerObjectExtension("MapServer",
    AllCapabilities = "",
    DefaultCapabilities = "",
    Description = ".NET Simple REST SOE With Properties",
    DisplayName = ".NET Simple REST SOE With Properties",
    Properties = "layerType=feature;returnFormat=json;maxNumFeatures=100;isEditable=false",
    HasManagerPropertiesConfigurationPane = false,
    SupportsREST = true,
    SupportsSOAP = false)]
public class NetSimpleRESTSOEWithProperties : IServerObjectExtension, IObjectConstruct, IRESTRequestHandler

ServerObjectInterceptorAttribute.ServerObjectType Property

Property Value: String

Type of the server object that this SOE was designed for. Example: 'MapServer'. Note that ImageServer is also supported as ServerObjectType since 10.8.1.


Inheritance Hierarchy

Inheritance: System.AttributeESRI.Server.SOESupport.ServerObjectInterceptorAttribute

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close