ServerObjectExtensionAttribute Class

Use ServerObjectExtensionAttribute to annotate the main SOE class that implements IServerObjectExtension.


Constructors

NameDescription
ServerObjectExtensionAttribute(String)Initializes a new instance of the ServerObjectExtension class

ServerObjectExtensionAttribute(String) Constructor

Use dark colors for code blocksCopy
1
public ServerObjectExtensionAttribute(string serverobject)
Parameter nameTypeDescription
serverobjectstringType of the server object that this SOE was designed for. Example: 'MapServer'.

Properties

PropertyProperty valueDescription
ServerObjectExtensionAttribute.DisplayNameStringSOE display name that you will see in Manager or other admin client.
ServerObjectExtensionAttribute.DescriptionStringSOE description.
ServerObjectExtensionAttribute.DefaultCapabilitiesStringDefault set of web capabilities in comma-separated list. Subset of AllCapabilities.
ServerObjectExtensionAttribute.AllCapabilitiesStringAll web capabilities in a comma-separated list.
ServerObjectExtensionAttribute.SupportsRESTBooleanShows that SOE supports REST API.
ServerObjectExtensionAttribute.SupportsSOAPBooleanShows that SOE supports SOAP API.
ServerObjectExtensionAttribute.SupportsSharedInstancesBooleanShows that SOE supports deployment to Shared Instances host. Default is false.
ServerObjectExtensionAttribute.PropertiesStringSOE properties.
ServerObjectExtensionAttribute.ServerObjectTypeStringType of the server object that this SOE was designed for. Example: 'MapServer'.
ServerObjectExtensionAttribute.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.

ServerObjectExtensionAttribute.SOAPNamespaceURI Property

Property Value: String

Sets SOAP namespace URI for the add-in configuration.

Example: This example shows how to define SOAP namespace URI for SOE.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
    [ComVisible(true)]
    [Guid("ff21a501-5eb9-406a-aab1-29389d25b868")]
    [ClassInterface(ClassInterfaceType.None)]
    [ServerObjectExtension("MapServer",
        AllCapabilities = "GetInfo,FindFeatures,DemoCustomObject,DemoArrayOfCustomObjects",
        DefaultCapabilities = "GetInfo,DemoCustomObject,DemoArrayOfCustomObjects",
            Description = ".NET Find Near Features SOAP SOE Sample",
            DisplayName = ".NET Find Near Features Soap SOE",
            Properties = "",
            SupportsREST = false,
            SupportsSOAP = true,
            SOAPNamespaceURI = "http://examples.esri.com/schemas/NetFindNearFeaturesSoapSOE/1.0")]

Inheritance Hierarchy

Inheritance: System.AttributeESRI.Server.SOESupport.ServerObjectExtensionAttribute

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