Udostępnij za pośrednictwem


HostedApplication.CreateInstance Method (String, String)

Method used to help create Instances of applications / objects

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

Usage

'Usage
Dim assemblyUri As String
Dim assemblyType As String
Dim returnValue As Object

returnValue = Me.CreateInstance(assemblyUri, assemblyType)

Syntax

'Declaration
<ObsoleteAttribute("This method has been deprecated, use CreateInstance(string, string, WorkItem)")> _
Protected Overridable Function CreateInstance ( _
    assemblyUri As String, _
    assemblyType As String _
) As Object
[ObsoleteAttribute("This method has been deprecated, use CreateInstance(string, string, WorkItem)")] 
protected virtual Object CreateInstance (
    string assemblyUri,
    string assemblyType
)
[ObsoleteAttribute(L"This method has been deprecated, use CreateInstance(string, string, WorkItem)")] 
protected:
virtual Object^ CreateInstance (
    String^ assemblyUri, 
    String^ assemblyType
)
/** @attribute ObsoleteAttribute("This method has been deprecated, use CreateInstance(string, string, WorkItem)") */ 
protected Object CreateInstance (
    String assemblyUri, 
    String assemblyType
)
ObsoleteAttribute("This method has been deprecated, use CreateInstance(string, string, WorkItem)") 
protected function CreateInstance (
    assemblyUri : String, 
    assemblyType : String
) : Object

Parameters

  • assemblyUri
    Uri to the assembly.
  • assemblyType
    The type for the application / class.

Return Value

Returns the object created.

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

HostedApplication Class
HostedApplication Members
Microsoft.Uii.Csr Namespace

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