dotnet-api-docs icon indicating copy to clipboard operation
dotnet-api-docs copied to clipboard

Has ServiceBase.Run blocking behavior when called in service context?

Open moerwald opened this issue 1 year ago • 0 comments

Type of issue

Typo

Description

You should describe how ServiceBase.Run behaves exactly. As far as I've understood the main method is also called when a service is started. If so ServiceBase.Run would be called. Will it block until the service is stopped?

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.serviceprocess.servicebase.run?view=net-8.0-pp

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.ServiceProcess/ServiceBase.xml

Document Version Independent Id

0befd7d9-fde6-b689-1f61-eaeaa3c8f170

Article author

@dotnet-bot

moerwald avatar Nov 21 '24 16:11 moerwald