ServiceHostFactoryBase.CreateServiceHost(String, Uri[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, creates a ServiceHostBase with a specific base address using custom initiation data.
public:
abstract System::ServiceModel::ServiceHostBase ^ CreateServiceHost(System::String ^ constructorString, cli::array <Uri ^> ^ baseAddresses);
public abstract System.ServiceModel.ServiceHostBase CreateServiceHost (string constructorString, Uri[] baseAddresses);
abstract member CreateServiceHost : string * Uri[] -> System.ServiceModel.ServiceHostBase
Public MustOverride Function CreateServiceHost (constructorString As String, baseAddresses As Uri()) As ServiceHostBase
Parameters
- constructorString
- String
The initialization data that is passed to the ServiceHostBase instance being constructed by the factory.
Returns
The ServiceHostBase object with the specified base addresses and initialized with the custom initiation data.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.