SPMobileMessage.BuildHeaderSegment method
Creates a header for the message that conforms to the protocol of the provider of the messaging service.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Sub BuildHeaderSegment ( _
writer As XmlWriter _
)
'Usage
Dim writer As XmlWriter
Me.BuildHeaderSegment(writer)
protected virtual void BuildHeaderSegment(
XmlWriter writer
)
Parameters
writer
Type: System.Xml.XmlWriterThe object that will write the markup.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | No recipients have been set for the message. |
Remarks
The default implementation creates Office Mobile Service (OMS) xmsHeader markup.
The Exceptions section refers to the default implementation.