PublishingSoapException.ThrowSoapException Method
Throws a SOAP exception.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub ThrowSoapException ( _
errorMessage As String, _
errorCode As Integer _
)
'Usage
Dim errorMessage As String
Dim errorCode As IntegerPublishingSoapException.ThrowSoapException(errorMessage, _
errorCode)
public static void ThrowSoapException(
string errorMessage,
int errorCode
)
Parameters
errorMessage
Type: System.StringThe error message that explains the reason for the exception.
errorCode
Type: System.Int32The error code for the exception.