CreateServiceHost Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
When overridden in a derived class, creates a ServiceHostBase with a specific base address using custom initiation data.

Namespace: Optimization.Unity
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public override ServiceHostBase CreateServiceHost(
	string constructorString,
	Uri[] baseAddresses
)
Visual Basic
Public Overrides Function CreateServiceHost ( _
	constructorString As String, _
	baseAddresses As Uri() _
) As ServiceHostBase
Visual C++
public:
virtual ServiceHostBase^ CreateServiceHost(
	String^ constructorString, 
	array<Uri^>^ baseAddresses
) override

Parameters

constructorString
Type: System..::..String
The initialization data that is passed to the ServiceHostBase instance being constructed by the factory.
baseAddresses
Type: array<System..::..Uri>[]()[][]
An Array of type Uri that contains the base addresses of the host.

Return Value

The ServiceHostBase object with the specified base addresses and initialized with the custom initiation data.

See Also