Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / C#

Creating a C# Service Step-by-Step Lesson II

Rate me:
Please Sign up or sign in to vote.
4.85/5 (31 votes)
9 Apr 20033 min read 195.5K   1.6K   179  
A multi-article contribution describing in step-by-step detail on creating your own service with integrated support for setup and custom event logs. This lesson we'll add multiple child services as well as updating the installer to install these services as well.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>SpadesServer</name>
    </assembly>
    <members>
        <member name="T:CodeBlooded.Spades.Services.Application">
            <summary>
            Summary description for Class1.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.Application.Main(System.String[])">
            <summary>
            The main entry point for the application.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesServiceBase.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesServiceBase.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesServiceBase.ServiceMain">
            <summary>
            
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesServiceBase.Execute">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesAdminService.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesAdminService.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesAdminService.Execute">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesChildServiceBase.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesChildServiceBase.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesGameService.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesGameService.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesGameService.Execute">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="T:CodeBlooded.Spades.Services.SpadesInstaller">
            <summary>
            Summary description for SpadesInstaller.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLobbyService.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLobbyService.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLobbyService.Execute">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLoginService.OnStart(System.String[])">
            <summary>
            Set things in motion so your service can do its work.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLoginService.OnStop">
            <summary>
            Stop this service.
            </summary>
        </member>
        <member name="M:CodeBlooded.Spades.Services.SpadesLoginService.Execute">
            <summary>
            
            </summary>
            <returns></returns>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect Match.com
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions