Attention: We are retiring the ASP.NET Community Blogs. Learn more >

New Windows Service Method with Whidbey

OnSessionChange(SessionChangeDescription changeDescription)

This looks to be new with .NET 2.0.  It appears to be used when there is a terminal server session change.  The session change description appears to be passed as parameter to the method.

Its interesting that the following is the code that was generated as I started typing into VS.NET 2k5 Beta2:

protected override void OnSessionChange(SessionChangeDescription changeDescription)
{
   throw new Exception("The method or operation is not implemented.");
}

Wally

3 Comments

Comments have been disabled for this content.