Condividi tramite


SPMobileMessageServiceProvider Class

Provides information about a mobile message service provider (MSP).

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceResponse
    Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceProvider

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

Syntax

'Declaration
Public Class SPMobileMessageServiceProvider _
    Inherits SPMobileMessageServiceResponse
'Usage
Dim instance As SPMobileMessageServiceProvider
public class SPMobileMessageServiceProvider : SPMobileMessageServiceResponse

Remarks

SPMobileMessageServiceProvider is an object-oriented version of a serviceInfo response from a Web service that uses the Office Mobile Service (OMS) protocol. A serviceInfo response is sent by the Web service in response to a call of its GetServiceInfo method.

For more information about OMS, see the series of articles beginning with Outlook 2007 Mobile Service Guidelines (Part 1 of 3).

Examples

The following is an example of a serviceInfo response.

<?xml version="1.0" encoding="utf-8"?>
<serviceInfo xmlns="https://schemas.microsoft.com/office/Outlook/2006/OMS/serviceInfo">
<serviceProvider>ABC Company</serviceProvider>
<serviceUri>https://www.abc.com.cn/OMS3/XMS.asmx</serviceUri>
<signUpPage>https://www.abc.com.cn/ws/xmssignup.aspx/</signUpPage>
<targetLocale>2052</targetLocale>
   <localName>ABC Mobile Service</localName>
   <englishName>ABC Mobile Service</englishName>
   <authenticationType>Other</authenticationType>
   <supportedService>
      <SMS_SENDER maxRecipientsPerMessage="50" maxMessagesPerSend="20"
         maxSbcsPerMessage="140" maxDbcsPerMessage="70" />
      <MMS_SENDER supportSlide="true" maxRecipientsPerMessage="100" 
         maxSizePerMessage="30000" maxSlidesPerMessage="10" />
   </supportedService>
</serviceInfo>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPMobileMessageServiceProvider Members

Microsoft.SharePoint.MobileMessage Namespace