Share via


WebApplicationAdapter Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents an abstract class used by UII developers to create web based adapters.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Csr.HostedApplicationAdapter
    Microsoft.Uii.Csr.WebApplicationAdapter

Syntax

public abstract class WebApplicationAdapter : HostedApplicationAdapter
Public MustInherit Class WebApplicationAdapter
    Inherits HostedApplicationAdapter

Constructors

Name Description
System_CAPS_protmethod WebApplicationAdapter()

Initializes a new instance of the WebApplicationAdapter class.

Properties

Name Description
System_CAPS_pubproperty ApplicationInitString

Gets or sets the XML string used to initialize the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty Browser

Gets or sets a reference to the Internet Explorer browser that hosts the web application.

System_CAPS_pubproperty DdaApplicationObject

Gets or sets the application object data-driven adapters used to manipulate the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty EmptyQueryStringData

Gets or sets a Boolean value that represents the visibility of data specified by System Integrator.

System_CAPS_pubproperty EncodeQueryStringData

Gets or sets the flag to turn on encoding of data.

System_CAPS_pubproperty Name

Gets or sets the name of the application that the adapter is working with.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty SessionID

Gets or sets the ID of the current session. The SessionID is used with global applications to track which session is active.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty SessionWorkItem

Gets or sets the work item that identifies the session.(Inherited from HostedApplicationAdapter.)

Methods

Name Description
System_CAPS_pubmethod AdapterContextChange(Context)

Used by inherited classes to send context change event to UII.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod AdapterFireAction(String, String, String)

Obsolete. Used by inherited classes to request an action through UII to other applications.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod AdapterFireRequestAction(RequestActionEventArgs)

Used by inherited classes to request an action through UII to other applications.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod BeforeNavigate(String, String, String, Int32, String, String, Object)

Called by UII whenever the hosted web application navigates to a new page. The application, action, and data arguments can all be modified.

System_CAPS_pubmethod Close()

Called when the application this is working with is being closed by the UII application host. This may not run if the application closes itself.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod DoAction(Action, RequestActionEventArgs)

Called by UII whenever an action is about to be performed on the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod DoAction(Action, String)

Obsolete. Called by UII whenever an action is about to be performed on the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod DoAction(HostedWebApplication.WebAction, String)

Called by UII whenever an action is about to be performed on the web application.

System_CAPS_pubmethod DocumentComplete(String)

Called when the document loading is completed.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetStateData(String)

Gets the UII agent's state.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize()

Initializes the hosted application.(Inherited from HostedApplicationAdapter.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod NavigateComplete(String)

Called when navigation for this browser is completed.

System_CAPS_pubmethod NotifyContextChange(Context)

Called when the context is changed.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod NotifyContextChange(String)

Obsolete. Obsolete. Called when the context is changed.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod OnNewWindow(String, String, Int64)

Creates a new browser window. It permits the application to cancel or allow the NewWindow operation.

System_CAPS_pubmethod SessionChange(Boolean, String)

Called by UII whenever the session changes. Only happens for global applications.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod SetStateData(String)

Sets the UII agent's state.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent AdapterContextChangedEvent

Notifies the UII when the adapter changes the context.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubevent AdapterFireRequestActionEvent

Lets the adapter request that an action be started. This can be used within custom adapters to send UII actions.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubevent AdapterRequestActionEvent

Obsolete. Lets the adapter request that an action be fired. This can be used within custom adapters to send UII actions. Obsolete.(Inherited from HostedApplicationAdapter.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Csr Namespace
Use the UII web application adapter

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright