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

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.

See Also

Reference

SPMobileMessage Class

SPMobileMessage Members

Microsoft.SharePoint.MobileMessage Namespace