Data.StackSite.OnStateChanging C# (CSharp) Method