Share via


CreateNewBodyPart Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Builds a WsMtomBodyPart object.

Namespace:  Ws.Services.Serialization
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
Public Function CreateNewBodyPart ( _
    content As Byte(), _
    contentID As String _
) As WsMtomBodyPart
public WsMtomBodyPart CreateNewBodyPart(
    byte[] content,
    string contentID
)
public:
WsMtomBodyPart^ CreateNewBodyPart(
    array<unsigned char>^ content, 
    String^ contentID
)
member CreateNewBodyPart : 
        content:byte[] * 
        contentID:string -> WsMtomBodyPart 
public function CreateNewBodyPart(
    content : byte[], 
    contentID : String
) : WsMtomBodyPart

Parameters

Return Value

Type: Ws.Services.Mtom. . :: . .WsMtomBodyPart
A completed WsMtomBodyPart object.

.NET Framework Security

See Also

Reference

DataContractSerializer Class

Ws.Services.Serialization Namespace