共用方式為


SPMobileMessageServiceProvider.SmsSenderInfo Class

Represents size limitations imposed by the OMS messaging Web service on Short Message Service (SMS) messages.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.MobileMessage.SPMobileMessageServiceProvider.SmsSenderInfo

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

Syntax

'Declaration
Public Class SmsSenderInfo
'Usage
Dim instance As SPMobileMessageServiceProvider.SmsSenderInfo
public class SmsSenderInfo

Remarks

Objects of this class are used primarily to represent the <SMS_SENDER> portion of a serviceInfo response that 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 that contains an <SMS_SENDER> element.

<?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.SmsSenderInfo Members

Microsoft.SharePoint.MobileMessage Namespace