DataDrivenAdapterBase.CreateInstance Method (String, Object)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Instantiates specific derivations of the DataDrivenAdapterBase class.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Syntax
public static DataDrivenAdapterBase CreateInstance(
string appInitStr,
object appObj
)
Public Shared Function CreateInstance (
appInitStr As String,
appObj As Object
) As DataDrivenAdapterBase
Parameters
appInitStr
Type: System.StringSpecifies the XML document that contains the application initiation string.
appObj
Type: System.ObjectSpecifies the object used by the data-driven adapter to automate the target application UI.
Return Value
Type: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DataDrivenAdapterBase
Returns an instance of the DataDrivenAdapterBase class.
Exceptions
Exception | Condition |
---|---|
DataDrivenAdapterException |
See Also
DataDrivenAdapterBase Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright