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.

Use dark colors for code blocksCopy
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.

Use dark colors for code blocksCopy
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.Attribute → ESRI.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.