SPUserCodeProvider 类

对于所有沙盒解决方案提供程序,包括程序集组提供程序和负载平衡器提供程序中定义类的基类。

继承层次结构

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUserCodeProvider
        Microsoft.SharePoint.Administration.SPUserCodeExecutionTier
        Microsoft.SharePoint.Administration.SPUserCodeLoadBalancerProvider
        Microsoft.SharePoint.UserCode.SPSolutionValidator

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPUserCodeProvider _
    Inherits SPPersistedObject _
    Implements IBackupRestoreConfiguration, IBackupRestore
用法
Dim instance As SPUserCodeProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPUserCodeProvider : SPPersistedObject, 
    IBackupRestoreConfiguration, IBackupRestore

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SPUserCodeProvider 成员

Microsoft.SharePoint.Administration 命名空间