SPWebService.WcfServiceSettings Property

Gets a dictionary list that provides the settings of the WCF services that use the service factory of MultipleBaseAddressWebServiceHostFactory, MultipleBaseAddressDataServiceHostFactory, and MultipleBaseAddressBasicHttpBindingServiceHostFactory.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public Dictionary<string, SPWcfServiceSettings> WcfServiceSettings { get; }

Property Value

Type: System.Collections.Generic.Dictionary<String, SPWcfServiceSettings>
A Dictionary<TKey, TValue> object that maps between a set of strings providing service names and a set of SPWcfServiceSettings objects, each of which represents the settings for a given service.

The key is the service name in lowercase, for example, “client.svc”; the value provides the settings for that service.