'Declaration
Public Function CreateServiceHost( _ ByVal serverBase As ServerBase, _ ByVal hosts As IDictionary(Of String,ServiceHost), _ ByVal configuration As ApplicationConfiguration, _ ByVal baseAddresses As IList(Of String), _ ByVal serverDescription As ApplicationDescription, _ ByVal securityPolicies As List(Of ServerSecurityPolicy), _ ByVal instanceCertificate As X509Certificate2, _ ByVal instanceCertificateChain As X509Certificate2Collection _ ) As List(Of EndpointDescription)
'Usage
Dim instance As TcpServiceHost Dim serverBase As ServerBase Dim hosts As IDictionary(Of String,ServiceHost) Dim configuration As ApplicationConfiguration Dim baseAddresses As IList(Of String) Dim serverDescription As ApplicationDescription Dim securityPolicies As List(Of ServerSecurityPolicy) Dim instanceCertificate As X509Certificate2 Dim instanceCertificateChain As X509Certificate2Collection Dim value As List(Of EndpointDescription) value = instance.CreateServiceHost(serverBase, hosts, configuration, baseAddresses, serverDescription, securityPolicies, instanceCertificate, instanceCertificateChain)
public List<EndpointDescription> CreateServiceHost( ServerBase serverBase, IDictionary<string,ServiceHost> hosts, ApplicationConfiguration configuration, IList<string> baseAddresses, ApplicationDescription serverDescription, List<ServerSecurityPolicy> securityPolicies, X509Certificate2 instanceCertificate, X509Certificate2Collection instanceCertificateChain )
public: List<EndpointDescription^>^ CreateServiceHost( ServerBase^ serverBase, IDictionary<String^,ServiceHost^>^ hosts, ApplicationConfiguration^ configuration, IList<String^>^ baseAddresses, ApplicationDescription^ serverDescription, List<ServerSecurityPolicy^>^ securityPolicies, X509Certificate2^ instanceCertificate, X509Certificate2Collection^ instanceCertificateChain )
Parameters
- serverBase
- hosts
- configuration
- baseAddresses
- serverDescription
- securityPolicies
- instanceCertificate
- instanceCertificateChain