SPUserCodeWrapper class
管理執行某些功能,例如網頁組件或存在於受限制的最低權限的使用者程式碼程序中的事件程的序。
Inheritance hierarchy
System.Object
System.MarshalByRefObject
Microsoft.SharePoint.Administration.SPUserCodeWrapper
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPUserCodeWrapper _
Inherits MarshalByRefObject
'用途
Dim instance As SPUserCodeWrapper
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPUserCodeWrapper : MarshalByRefObject
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.