Condividi tramite


SPWcfServiceSettings Class

Provides settings that control the behavior of the Windows Communication Foundation (WCF) service.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPWcfServiceSettings

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPWcfServiceSettings _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPWcfServiceSettings
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPWcfServiceSettings : SPAutoSerializingObject

Remarks

These settings are applied only when the service uses the following service factories: MultipleBaseAddressWebServiceHostFactory; MultipleBaseAddressDataServiceHostFactory; or MultpleBaseAddressBasicHttpBindingServiceHostFactory.

This class is sealed and cannot be inherited.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPWcfServiceSettings Members

Microsoft.SharePoint.Administration Namespace