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
- content
Type: array<System. . :: . .Byte> [] () [] []
The binary body part content.
- contentID
Type: System. . :: . .String
The unique content identifier.
Return Value
Type: Ws.Services.Mtom. . :: . .WsMtomBodyPart
A completed WsMtomBodyPart object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.