.NET Framework Class Library for Silverlight
IApplicationService..::.StartService Method

Called by an application in order to initialize the application extension service.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Sub StartService ( _
    context As ApplicationServiceContext _
)
Visual Basic (Usage)
Dim instance As IApplicationService
Dim context As ApplicationServiceContext

instance.StartService(context)
C#
void StartService(
    ApplicationServiceContext context
)

Parameters

context
Type: System.Windows..::.ApplicationServiceContext
Provides information about the application state.
Remarks

You can implement this method in order to start your service and initialize any necessary resources.

This method is called for each registered application service before the Application..::.Startup event. If multiple services are registered, their StartService methods are called in the same order in which the services are registered.

The context parameter provides access to the application initialization parameters as specified in the host Web page.

For more information, see Application Extension Services.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Other Resources

Tags :


Page view tracker