SPUserCodeWrapper class
Gerencia o processo de executar certas funções, como Web parts ou eventos, que existem dentro do processo de código de usuário privilégios restritos.
Inheritance hierarchy
System.Object
System.MarshalByRefObject
Microsoft.SharePoint.Administration.SPUserCodeWrapper
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPUserCodeWrapper _
Inherits MarshalByRefObject
'Uso
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.