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.StringThe error message that explains the reason for the exception.
code
Type: System.Xml.XmlQualifiedNameXmlQualifiedName
Return Value
Type: Microsoft.SharePoint.Publishing.PublishingSoapException
A PublishingSoapException object.