Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Exception Condition
ArgumentNullException

singletonInstance is null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft