ServiceHost::InitializeDescription Method (Type^, UriSchemeKeyedCollection^)
.NET Framework (current version)
Initializes a description of the service hosted based on its type and specified base addresses.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
protected: void InitializeDescription( Type^ serviceType, UriSchemeKeyedCollection^ baseAddresses )
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.
| Exception | Condition |
|---|---|
| ArgumentNullException | serviceType is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: