Compartilhar via


HostedAppFactory.CreateApplication Method (ApplicationRecord, WorkItem)

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)

Usage

'Usage
Dim appRecord As ApplicationRecord
Dim workItem As WorkItem
Dim returnValue As IHostedApplication

returnValue = HostedAppFactory.CreateApplication(appRecord, workItem)

Syntax

'Declaration
Public Shared Function CreateApplication ( _
    appRecord As ApplicationRecord, _
    workItem As WorkItem _
) As IHostedApplication
public static IHostedApplication CreateApplication (
    ApplicationRecord appRecord,
    WorkItem workItem
)
public:
static IHostedApplication^ CreateApplication (
    ApplicationRecord^ appRecord, 
    WorkItem^ workItem
)
public static IHostedApplication CreateApplication (
    ApplicationRecord appRecord, 
    WorkItem workItem
)
public static function CreateApplication (
    appRecord : ApplicationRecord, 
    workItem : WorkItem
) : IHostedApplication

Parameters

  • appRecord
    Application Record.
  • workItem

Return Value

Hosted Application created. Null, if the hosted application creation fails.

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.

Platforms

See Also

Reference

HostedAppFactory Class
HostedAppFactory Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.