Share via


PublishingSoapException.MakeSoapException Method

Creates a SOAP exception object.

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

Syntax

'Declaration
Public Shared Function MakeSoapException ( _
    message As String, _
    code As XmlQualifiedName _
) As PublishingSoapException
'Usage
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
)

Parameters

  • message
    Type: System.String
    The error message that explains the reason for the exception.

Return Value

Type: Microsoft.SharePoint.Publishing.PublishingSoapException
A PublishingSoapException object.

See Also

Reference

PublishingSoapException Class

PublishingSoapException Members

Microsoft.SharePoint.Publishing Namespace