IAddInModule.Initialize Method

Enables an application to initialize its private variables and allocate system resources.

Syntax

  public void Initialize(
   Dictionary<string, object> 
  appInfo
  ,
   Dictionary<string, object> 
  entryPointInfo
  
);

Parameters

appInfo

System.Collections.Dictionary<string,object>.  A collection of the attributes and corresponding values that were specified in the application element used to register the application. For more information, see Associating Application Entry Points with Integration Locations.

entryPointInfo

System.Collections.Dictionary<string,object>.  A collection of the attributes and corresponding values that were specified in the entrypoint element used to register the application's entry points. For more information, see Associating Application Entry Points with Integration Locations.

Return Value

This method does not return a value.

Remarks

This method is only for quick initialization. No lengthy operations such as disk or network access should be done while calling this method. If this method does not return within a few seconds, Windows Media Center terminates the application.

Windows Media Center calls this method before calling the IAddInEntryPoint.Launch method.

Requirements

Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter.Hosting

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also