SPWcfServiceSettings class
提供設定,控制 Windows Communication Foundation (WCF) 服務的行為。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPWcfServiceSettings
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPWcfServiceSettings _
Inherits SPAutoSerializingObject
'用途
Dim instance As SPWcfServiceSettings
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPWcfServiceSettings : SPAutoSerializingObject
備註
只有當此服務會使用下列服務 factory 時,套用這些設定: MultipleBaseAddressWebServiceHostFactory;MultipleBaseAddressDataServiceHostFactory;或MultpleBaseAddressBasicHttpBindingServiceHostFactory。
此類別密封,無法繼承而來。
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.