SoapServerException.MakeSoapException - Méthode (String)

Crée un événement d'exception SOAP et passe dans la description de l'erreur.

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

Syntaxe

'Déclaration
Protected Shared Function MakeSoapException ( _
    strError As String _
) As SoapException
'Utilisation
Dim strError As String
Dim returnValue As SoapException

returnValue = SoapServerException.MakeSoapException(strError)
protected static SoapException MakeSoapException(
    string strError
)

Paramètres

  • strError
    Type : System.String

    Chaîne qui contient la description de l'erreur.

Valeur renvoyée

Type : System.Web.Services.Protocols.SoapException
System.Web.Services.Protocols.SoapException qui représente l'exception qui a été levée.

Voir aussi

Référence

SoapServerException classe

SoapServerException - Membres

MakeSoapException - Surcharge

Microsoft.SharePoint.SoapServer - Espace de noms