Autodesk Vault ProfessionalVault API

Initialize Method

Autodesk.DataManagement.Client.FrameworkLibrary

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

NameDescription
uiApplicationPass 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. The MainThreadDispatcher is set to the Dispatcher.CurrentDispatcher for the thread this method is called on.

See Also