Partager via


SharePointHandlerFactory.GetHandler - Méthode

Remarque : cette API est désormais obsolète.

Espace de noms :  Microsoft.SharePoint.ApplicationRuntime
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("The SharePointHandlerFactory class is no longer supported and will be removed in a future release.")> _
Public Function GetHandler ( _
    context As HttpContext, _
    requestType As String, _
    url As String, _
    pathTranslated As String _
) As IHttpHandler
'Utilisation
Dim instance As SharePointHandlerFactory
Dim context As HttpContext
Dim requestType As String
Dim url As String
Dim pathTranslated As String
Dim returnValue As IHttpHandler

returnValue = instance.GetHandler(context, _
    requestType, url, pathTranslated)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("The SharePointHandlerFactory class is no longer supported and will be removed in a future release.")]
public IHttpHandler GetHandler(
    HttpContext context,
    string requestType,
    string url,
    string pathTranslated
)

Paramètres

Valeur renvoyée

Type : System.Web.IHttpHandler

Implémentations

IHttpHandlerFactory.GetHandler(HttpContext, String, String, String)

Voir aussi

Référence

SharePointHandlerFactory classe

SharePointHandlerFactory - Membres

Microsoft.SharePoint.ApplicationRuntime - Espace de noms