Intersoft ClientUI Documentation
CreateInstanceAsync(AsyncCallback,String,Object) Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ApplicationPackage Class > CreateInstanceAsync Method : CreateInstanceAsync(AsyncCallback,String,Object) Method






resultCallback
type
userState
Asynchronously create an instance of the type specified in the parameter that existed in the application package.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub CreateInstanceAsync( _
   ByVal resultCallback As AsyncCallback, _
   ByVal type As String, _
   ByVal userState As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As ApplicationPackage
Dim resultCallback As AsyncCallback
Dim type As String
Dim userState As Object
 
instance.CreateInstanceAsync(resultCallback, type, userState)
C# 
public void CreateInstanceAsync( 
   AsyncCallback resultCallback,
   string type,
   object userState
)
Delphi 
public procedure CreateInstanceAsync( 
    resultCallback: AsyncCallback;
    type: String;
    userState: TObject
); 
JScript 
public function CreateInstanceAsync( 
   resultCallback : AsyncCallback,
   type : String,
   userState : Object
);
Managed Extensions for C++ 
public: void CreateInstanceAsync( 
   AsyncCallback* resultCallback,
   string* type,
   Object* userState
) 
C++/CLI 
public:
void CreateInstanceAsync( 
   AsyncCallback^ resultCallback,
   String^ type,
   Object^ userState
) 

Parameters

resultCallback
type
userState

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.