Set the recovery property of Windows service (CSWindowsServiceRecoveryProperty)

The code sample demonstrates setting the recovery properties of Windows Service

C# (73.8 KB)
 
 
 
 
 
(0)
12,025 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us Digg Facebook

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSWindowsServiceRecoveryProperty", "CSWindowsServiceRecoveryProperty\CSWindowsServiceRecoveryProperty.csproj", "{680DC45F-395F-42A5-B0BB-382E4FCC06F3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CSWindowsService", "CSWindowsService\CSWindowsService.csproj", "{1D9C418F-1130-403B-B707-B62949C0B8B5}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CSWindowsServiceSetup(x86)", "CSWindowsService\CSWindowsServiceSetup(x86)\CSWindowsServiceSetup(x86).vdproj", "{EF66ED8B-A681-4A3E-8A86-B634B49E78D7}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "CSWindowsServiceSetup(x64)", "CSWindowsService\CSWindowsServiceSetup(x64)\CSWindowsServiceSetup(x64).vdproj", "{A9DA0F47-CEC6-4392-BE88-757FB9813A9F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CSWindowsService", "CSWindowsService", "{9A005DBF-1AC2-43A5-A010-3BBAB9D485B3}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{680DC45F-395F-42A5-B0BB-382E4FCC06F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{680DC45F-395F-42A5-B0BB-382E4FCC06F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{680DC45F-395F-42A5-B0BB-382E4FCC06F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{680DC45F-395F-42A5-B0BB-382E4FCC06F3}.Release|Any CPU.Build.0 = Release|Any CPU
		{1D9C418F-1130-403B-B707-B62949C0B8B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{1D9C418F-1130-403B-B707-B62949C0B8B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{1D9C418F-1130-403B-B707-B62949C0B8B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{1D9C418F-1130-403B-B707-B62949C0B8B5}.Release|Any CPU.Build.0 = Release|Any CPU
		{EF66ED8B-A681-4A3E-8A86-B634B49E78D7}.Debug|Any CPU.ActiveCfg = Debug
		{EF66ED8B-A681-4A3E-8A86-B634B49E78D7}.Debug|Any CPU.Build.0 = Debug
		{EF66ED8B-A681-4A3E-8A86-B634B49E78D7}.Release|Any CPU.ActiveCfg = Release
		{EF66ED8B-A681-4A3E-8A86-B634B49E78D7}.Release|Any CPU.Build.0 = Release
		{A9DA0F47-CEC6-4392-BE88-757FB9813A9F}.Debug|Any CPU.ActiveCfg = Debug
		{A9DA0F47-CEC6-4392-BE88-757FB9813A9F}.Debug|Any CPU.Build.0 = Debug
		{A9DA0F47-CEC6-4392-BE88-757FB9813A9F}.Release|Any CPU.ActiveCfg = Release
		{A9DA0F47-CEC6-4392-BE88-757FB9813A9F}.Release|Any CPU.Build.0 = Release
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{1D9C418F-1130-403B-B707-B62949C0B8B5} = {9A005DBF-1AC2-43A5-A010-3BBAB9D485B3}
		{A9DA0F47-CEC6-4392-BE88-757FB9813A9F} = {9A005DBF-1AC2-43A5-A010-3BBAB9D485B3}
		{EF66ED8B-A681-4A3E-8A86-B634B49E78D7} = {9A005DBF-1AC2-43A5-A010-3BBAB9D485B3}
	EndGlobalSection
EndGlobal