ServiceHost Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ServiceHost class.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

NameDescription
System_CAPS_protmethodServiceHost()

Initializes a new instance of the ServiceHost class.

System_CAPS_pubmethodServiceHost(Object, Uri[])

Initializes a new instance of the ServiceHost class with the instance of the service and its base addresses specified.

System_CAPS_pubmethodServiceHost(Type, Uri[])

Initializes a new instance of the ServiceHost class with the type of service and its base addresses specified.

Return to top
Show: