HostedAppFactory.CreateApplication Method (ApplicationRecord, WorkItem)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Creates Hosted Application. Based on the isolation level, launches the Hosted Application in the same domain or different domain or different process.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Syntax
public static IHostedApplication CreateApplication(
ApplicationRecord appRecord,
WorkItem workItem
)
Public Shared Function CreateApplication (
appRecord As ApplicationRecord,
workItem As WorkItem
) As IHostedApplication
Parameters
appRecord
Type: Microsoft.Uii.Common.Entities.ApplicationRecordApplication Record.
- workItem
Type: Microsoft.Practices.CompositeUI.WorkItem
Return Value
Type: Microsoft.Uii.Csr.IHostedApplication
Hosted Application created. Null, if the hosted application creation fails.
See Also
CreateApplication Overload
HostedAppFactory Class
Microsoft.Uii.Csr Namespace
Return to top
Unified Service Desk 2.0
© 2016 Microsoft. All rights reserved. Copyright