SPMobileMessageServiceErrorCode enumeration
Specifies the type of error (or success signal) received from a request to a Web service that provides messaging to mobile devices.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Enumeration SPMobileMessageServiceErrorCode
'Usage
Dim instance As SPMobileMessageServiceErrorCode
public enum SPMobileMessageServiceErrorCode
Members
Member name | Description | |
---|---|---|
Success | Valid XML was received from the Web service in response to a request. | |
WebConnectFailure | The remote service point could not be contacted at the transport level. | |
WebMessageLengthLimitExceeded | A message was received that exceeded the specified limit when sending a request or receiving a response from the server. | |
WebNameResolutionFailure | The name resolver service could not resolve the host name. | |
WebProtocolError | The response received from the server was complete but indicated a protocol-level error. For example, an HTTP protocol error such as 401 Access Denied would use this status. | |
WebProxyNameResolutionFailure | The name resolver service could not resolve the proxy host name. | |
WebReceiveFailure | A complete response was not received from the remote server. | |
WebRequestProhibitedByProxy | This request was not permitted by the proxy. | |
WebSecureChannelFailure | An error occurred while establishing a connection using SSL. | |
WebSendFailure | A complete request could not be sent to the remote server. | |
WebTimeout | No response was received during the time-out period for a request. | |
WebTrustFailure | A server certificate could not be validated. | |
SoapVersionMismatchFault | An invalid namespace for a SOAP envelope was found. | |
SoapMustUnderstandFault | A SOAP element marked with the MustUnderstand attribute was not processed. | |
SoapClientFault | A client call was not formatted correctly or did not contain the appropriate information. | |
SoapServerFault | An error occurred during the processing of a client call on the server, however, the problem is not due to the message contents. | |
UnknownError | An exception of unknown type has occurred. | |
InvalidResponse | A validation failure of the response XML received from the Web service. |
Remarks
This enumeration is primarily used as the value of the SPMobileMessageServiceResponse.ErrorCode property. Errors may represent communication or connection failures of various sorts or invalid XML received from the Web service.