Intersoft WebDesktop Documentation
ServiceType Enumeration
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace : ServiceType Enumeration


Glossary Item Box

Value representing the service type used by the notification control to request data.

Syntax

Visual Basic (Declaration) 
Public Enum ServiceType 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As ServiceType
C# 
public enum ServiceType : System.Enum 

Members

MemberDescription
WebFormWebNotification will use WebForm Service Type.
WebServiceWebNotification will use WebService Service Type.

Remarks

WebNotification provides two types ServiceType. They are WebForm ServiceType and WebService ServiceType.

  • WebForm ServiceType.
    This is the default value for ServiceType property. WebForm mode is recommended when the data provider is private and does not need to be exposed. With this mode, you need to set the WebForm (aspx) page which the control will invoke. You can set the ServiceUrl to either the current caller page or another WebForm page in the application.
  • WebService ServiceType.
    This type allows you to retrieve Notifications data from a web service (asmx) page. When set to this mode, you set the ServiceUrl to the web service page containing the method required by WebNotification control. The WebService mode is the recommended data provider setting when the methods need to be exposed for other usage. Note that both WebForm and WebService have similar method signature and returned object type. This allows you to easily switch between WebForm and WebService as necessary in certain phase of development.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ISNet.WebUI.WebDesktop.ServiceType

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.