Provides static methods for getting references to the safe controls of a site and testing a control for safety.
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class SharePointHandler : IHttpHandler
The only constructor for
and the SharePointHandler are both obsolete, so you can no longer instantiate an object of this class. Two of its static methods are still available for use: SharePointHandlerFactory and GetSafeControls . IsSafeControl
One static method,
, is also obsolete. DisposeResources
Although this class nominally implements
, the methods of that interface, IHttpHandler and ProcessRequest , are obsolete within SPProcessRequest , and they are not static so they are no longer callable anyway. SharePointHandler
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.