Compartilhar via


WebContextBase.. Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Starts the context as an application service.

Namespace:  System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)

Syntax

'Declaration
Private Sub StartService ( _
    context As ApplicationServiceContext _
) Implements IApplicationService.StartService
'Usage
Dim instance As WebContextBase
Dim context As ApplicationServiceContext

CType(instance, IApplicationService).StartService(context)
void IApplicationService.StartService(
    ApplicationServiceContext context
)
private:
virtual void StartService(
    ApplicationServiceContext^ context
) sealed = IApplicationService::StartService
private abstract StartService : 
        context:ApplicationServiceContext -> unit 
private override StartService : 
        context:ApplicationServiceContext -> unit 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • context
    Type: ApplicationServiceContext
    The service context.

Implements

IApplicationServiceStartService(ApplicationServiceContext)

Remarks

This member is an explicit interface member implementation. It can be used only when the WebContextBase instance is cast to an IApplicationService interface.

See Also

Reference

WebContextBase Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace