Visual Basic (Declaration) | |
---|---|
<XmlAttributeAttribute("serviceName")> <DefaultValueAttribute()> <DescriptionAttribute("The name of the service URL where the application server is located. - Applicable to both client and server.")> Public Property ServiceName As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ObjectServerElement Dim value As String instance.ServiceName = value value = instance.ServiceName |
C# | |
---|---|
[XmlAttributeAttribute("serviceName")] [DefaultValueAttribute()] [DescriptionAttribute("The name of the service URL where the application server is located. - Applicable to both client and server.")] public string ServiceName {get; set;} |
C++/CLI | |
---|---|
[XmlAttributeAttribute("serviceName")] [DefaultValueAttribute()] [DescriptionAttribute("The name of the service URL where the application server is located. - Applicable to both client and server.")] public: property String^ ServiceName { String^ get(); void set ( String^ value); } |
The final endpoint address is formed is formed from the ObjectServerElement.RemoteBaseUrl, ServerPort and ServiceName properties. ObjectServerElement.RemoteBaseUrl:ServerPort%P:IdeaBlade.Core.Configuration.ObjectServerElement.ServiceName%. For example, if the endpoint address is http://localhost:9009/myapp/EntityService.svc, then the ServiceName would be "myapp/EntityService.svc".
The ServiceName, ObjectServerElement.RemoteBaseUrl and ServerPort values are ignored by the application server when hosted by IIS. These values are also not requred when endpoint configuration information can be obtained from the system.serviceModel section of the client's configuration file.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family