ServiceHost::InitializeDescription Method (Object^, UriSchemeKeyedCollection^)
.NET Framework (current version)
Initializes a description of the service hosted based on its instance and specified base addresses.
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
Available since 3.0
Show: