SPIisWebServiceProxy 类
抽象类的派生类可用于表示 Web 服务代理安装在服务器场中。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
Microsoft.SharePoint.Administration.SPServiceProxy
Microsoft.SharePoint.Administration.SPIisWebServiceProxy
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<GuidAttribute("9AAC1C77-4274-4595-9CB0-9740B73E5A70")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPIisWebServiceProxy _
Inherits SPServiceProxy
用法
Dim instance As SPIisWebServiceProxy
[GuidAttribute("9AAC1C77-4274-4595-9CB0-9740B73E5A70")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPIisWebServiceProxy : SPServiceProxy
备注
此示例演示如何使用SPIisWebServiceProxy和IServiceProxyAdministration。
internal sealed class SampleWebServiceProxy : SPIisWebServiceProxy, IServiceProxyAdministration
{
public SampleWebServiceProxy()
{
}
// NOTE: A constructor with the signature (String, SPFarm) is required
// if this service proxy is installed by psconfig -cmd services -install.
internal SampleWebServiceProxy(
SPFarm farm)
: base(farm)
{
}
Friend NotInheritable Class SampleWebServiceProxy
Inherits SPIisWebServiceProxy
Implements IServiceProxyAdministration
Public Sub New()
End Sub
' NOTE: A constructor with the signature (String, SPFarm) is required
' if this service proxy is installed by psconfig -cmd services -install.
Friend Sub New(ByVal farm As SPFarm)
MyBase.New(farm)
End Sub
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。