CSharpTest.Net
RunAsService Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Commands Namespace > ServiceCommands Class : RunAsService Method

ci
name
rawArgs

Glossary Item Box

Used to host a command-interpreter's command as a Win32 service. Use ServiceCommands.Installation.InstallService to install the service.

Syntax

Visual Basic (Declaration) 
Public Shared Sub RunAsService( _
   ByVal ci As ICommandInterpreter, _
   ByVal name As String, _
   ByVal rawArgs() As String _
) 
C# 
public static void RunAsService( 
   ICommandInterpreter ci,
   string name,
   string[] rawArgs
)

Parameters

ci
name
rawArgs

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys