| Visual Basic (Usage) |  Copy Code | 
|---|---|
| Dim instance As ServiceHost Dim value As Boolean instance.StopServerOnClose = value value = instance.StopServerOnClose | |
| C# | |
|---|---|
| public bool StopServerOnClose {get; set;} | |
Property Value
true if server is to be stoped on close, otherwise false.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x
 
     
     
     
     
    
    