ServiceHost::SingletonInstance Property
.NET Framework (current version)
Gets the singleton instance of the hosted service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Use the ServiceHost(Object^, array<Uri^>^) constructor to initialize a singleton instance of the service to be hosted when you want to control the instance of the service that is used.
.NET Framework
Available since 3.0
Available since 3.0
Show: