Export (0) Print
Expand All

ServiceHost.InitializeDescription Method (Object, UriSchemeKeyedCollection)

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

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

protected void InitializeDescription(
	Object singletonInstance,
	UriSchemeKeyedCollection baseAddresses
)

Parameters

singletonInstance
Type: System.Object

The instance of the hosted service.

baseAddresses
Type: System.ServiceModel.UriSchemeKeyedCollection

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

ExceptionCondition
ArgumentNullException

singletonInstance is null.

.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