SPServiceHostOperations.Configure - Méthode

Configure un hôte de service Windows Communication Foundation (WCF) pour une utilisation avec SharePoint.

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

Syntaxe

'Déclaration
<ExtensionAttribute> _
Public Shared Sub Configure ( _
    serviceHost As ServiceHostBase, _
    authenticationMode As SPServiceAuthenticationMode _
)
'Utilisation
Dim serviceHost As ServiceHostBase
Dim authenticationMode As SPServiceAuthenticationMode

serviceHost.Configure(authenticationMode)
public static void Configure(
    this ServiceHostBase serviceHost,
    SPServiceAuthenticationMode authenticationMode
)

Paramètres

Remarque d’utilisation

Dans Visual Basic et C#, vous pouvez appeler cette méthode en tant que méthode d’instance sur tous les objets de type ServiceHostBase. Lorsque vous appelez cette méthode à l’aide de la syntaxe de méthode d’instance, omettez le premier paramètre. Pour plus d’informations, voir https://msdn.microsoft.com/fr-fr/library/bb384936(v=office.15) ou https://msdn.microsoft.com/fr-fr/library/bb383977(v=office.15).

Voir aussi

Référence

SPServiceHostOperations classe

SPServiceHostOperations - Membres

Microsoft.SharePoint - Espace de noms