Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ExtensionObject Dim value As Object instance.Body = value value = instance.Body |
C# | |
---|---|
public object Body {get; set;} |
Property Value
The object to be embeded.Exception | Description |
---|---|
ServiceResultException | Thrown when the body is not one of the types listed above |
The body of the extension object. This property will work with objects of the following types:
- IEncodeable
- byte-array ( C# = byte[] or VB.NET Byte() )
- System.Xml.XmlElement
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x