Compartilhar via


PublishingSoapException.MakeSoapException método

Cria um objeto de exceção de SOAP.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (em Microsoft.SharePoint.Publishing.dll)

Sintaxe

'Declaração
Public Shared Function MakeSoapException ( _
    message As String, _
    code As XmlQualifiedName _
) As PublishingSoapException
'Uso
Dim message As String
Dim code As XmlQualifiedName
Dim returnValue As PublishingSoapException

returnValue = PublishingSoapException.MakeSoapException(message, _
    code)
public static PublishingSoapException MakeSoapException(
    string message,
    XmlQualifiedName code
)

Parâmetros

  • message
    Tipo: System.String

    A mensagem de erro que explica o motivo da exceção.

Valor retornado

Tipo: Microsoft.SharePoint.Publishing.PublishingSoapException
Um objeto PublishingSoapException .

Ver também

Referência

PublishingSoapException classe

PublishingSoapException membros

Microsoft.SharePoint.Publishing namespace