SecureStoreServiceHostFactory.CreateServiceHost Method (String, Uri )
Creates the Secure Store Service host with the specified address and configures it. This member is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.Office.SecureStoreService.Server
Assembly: Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)
Syntax
'Declaration
Public Overrides Function CreateServiceHost ( _
constructorString As String, _
baseAddresses As Uri() _
) As ServiceHostBase
'Usage
Dim instance As SecureStoreServiceHostFactory
Dim constructorString As String
Dim baseAddresses As Uri()
Dim returnValue As ServiceHostBase
returnValue = instance.CreateServiceHost(constructorString, _
baseAddresses)
public override ServiceHostBase CreateServiceHost(
string constructorString,
Uri[] baseAddresses
)
Parameters
constructorString
Type: System.StringThe initialization data passed to the ServiceHostBase instance being constructed by the factory. This parameter is not used.
baseAddresses
Type: []The array of Uri that contains the base addresses for the service host.
Return Value
Type: System.ServiceModel.ServiceHostBase
A ServiceHost with specific base addresses that represents the Secure Store Service host.
Remarks
This override creates the Secure Store Service host with the SecureStoreServiceApplication type and the specified address, and then configures the endpoint credentials.
See Also
Reference
SecureStoreServiceHostFactory Class