Use Server
to annotate the main SOI class.
Constructors
Name | Description |
---|---|
ServerObjectInterceptorAttribute(String) | Initializes a new instance of the ServerObjectInterceptor class |
ServerObjectInterceptorAttribute(String) Constructor
SOI attribute constructor. The serverobject parameter supports Image
since 10.8.1.
public ServerObjectInterceptorAttribute(string serverobject)
Parameter name | Description |
---|---|
serverobject | Type of the server object that this SOI was designed for. Example: 'MapServer'. |
Properties
Property | Property value | Description |
---|---|---|
ServerObjectInterceptorAttribute.DisplayName | String | SOI display name that you will see in Manager or other admin client. |
ServerObjectInterceptorAttribute.Description | String | SOI description. |
ServerObjectInterceptorAttribute.SupportsSharedInstances | Boolean | Shows that SOI supports deployment to Shared Instances host. Default is false. |
ServerObjectInterceptorAttribute.Properties | String | SOI properties. |
ServerObjectInterceptorAttribute.ServerObjectType | String | Type of the server object that this SOI was designed for. Example: 'MapServer'. |
ServerObjectInterceptorAttribute.HasManagerPropertiesConfigurationPane | Boolean | Set this flag to true if you have custom JS widged for the SOE properties pane in Manager. |
ServerObjectExtensionAttribute.SOAPNamespaceURI | String | Sets 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.
[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 Image
is also supported as Server
since 10.8.1.
Inheritance Hierarchy
Inheritance: System.Attribute → ESRI.Server.SOESupport.ServerObjectInterceptorAttribute