Initialize Method
Initializes the services in this assembly. This should be called on application startup.
Syntax
public static void Initialize(
System.bool uiApplication
)Public Shared Sub Initialize( _
Optional ByVal uiApplication As System.Boolean _
) Parameters
| Name | Description |
|---|---|
| uiApplication | Pass true if this is a UI application that has a message pump (e.g. Winforms, MFC, WPF). Pass false otherwise (e.g. a Console app) |
Remarks
For a UI application, it is critical that this method be called on the thread that is (or will be) the main UI thread. This method also sets WebServiceManager.AllowUI accordingly./>