Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServiceHost.InitializeDescription Method (Type, UriSchemeKeyedCollection)

Initializes a description of the service hosted based on its type and specified base addresses.

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

'Declaration
Protected Sub InitializeDescription ( _
	serviceType As Type, _
	baseAddresses As UriSchemeKeyedCollection _
)

Parameters

serviceType
Type: System.Type

The Type of service hosted.

baseAddresses
Type: System.ServiceModel.UriSchemeKeyedCollection

The UriSchemeKeyedCollection that contains the base addresses for the hosted service.

ExceptionCondition
ArgumentNullException

serviceType is Nothing.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft